I’m guessing no: you need conditional branches otherwise your single algorithm would just end up back where you started?
I’m guessing no: you need conditional branches otherwise your single algorithm would just end up back where you started?
Also check out Lagrange’s theorem in group theory
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.
I am sure that is not quite what you meant, but this is what is referred to as the 'using only one algo to solve the rubiks cube' this also only works (AFAIR) for 3x3x3
https://www.youtube.com/watch?v=n7irFvVkLpk
Twistypuzzling produces great Youtube videos for all types of twisty puzzles.
Fixed sequences of cube moves are reversible and they are deterministic.
It follows that for any given fixed sequence S there is exactly one starting configuration C such that applying S to C results in a solved cube.
You can't solve any state of a cube with one algorithm the same way as you can't sort any array with a single cycle.