It’s called Devil’s algorithm but I believe it is not know yet whether it exists or not
I'm not sure if the 43 quintillion are reachable in a loop of that many moves, or if you need to backtrack through some states to reach others and thus need more moves than that.
Also check out Lagrange’s theorem in group theory