mathematicsPuzzlesince 1980
God's number for the Rubik's Cube
What is the fewest moves that always solves any scrambled Rubik's Cube?
Settled at 20 in 2010 after decades of narrowing bounds and a large donated computation.
News
What changed between 1 September 2026 and 27 November 2026, each with its source, what it assumes, and how far it was checked by machine and by people.
15 May 2026Survey
Paper proposes a cheap sampling method bounding the cube's diameter by 36, far above the known 20
Merino and Subercaseaux estimate the average distance at 18.32 +- 0.18 from random states and use the vertex-transitive bound diameter <= 2 x average to get 36 with high confidence. It is a method, not a new God's number.
What it assumes: Statistical sampling and a solver bound on each sampled state
Last searched 27 November 2026. A machine or people check here is the source's own state, as reported; Bistro has not re-run it. All news
The story
Every scramble of a Rubik's Cube can be solved. 'God's number' is the largest number of moves an all-knowing solver would ever need, counting a half turn of a face as one move. Early human methods needed hundreds of moves.
In 2010 Tomas Rokicki, Herbert Kociemba, Morley Davidson and John Dethridge proved the answer is 20, by splitting the positions into large families and solving each family by computer. One position, the 'superflip', is known to need all 20.
What is known
Each fact links to its source
- The maximal number of face turns needed to solve any position is 20, proved in 2010 by Rokicki, Kociemba, Davidson and Dethridge; in the quarter-turn metric it is 26, proved in 2014. Wikipedia: Optimal solutions for the Rubik's Cube
- Most random positions need 18 moves (about 67 per cent) or 17 moves (about 27 per cent) to solve optimally. Wikipedia: Optimal solutions for the Rubik's Cube
- The superflip needs 20 face turns; Singmaster's 1979 bound was 277 moves. Wikipedia: Optimal solutions for the Rubik's Cube
Milestones
The results already checked on the way to the goal, the published claims not yet checked by machine and by people, then the open steps, easiest first. Each step is a piece someone else can check.
Known
Morwen Thistlethwaite (1981) proved that 52 face turns always suffice to solve any 3×3×3 Rubik's Cube, the first upper bound from a systematic subgroup-chain method. source
Known
Michael Reid (1995) proved the superflip (all edges flipped in place) needs 20 face turns, and cut the upper bound to 29 by analysing Kociemba's two-phase algorithm. source
Known
Daniel Kunkle and Gene Cooperman (2007) proved 26 face turns always suffice, using a large-memory computation over cosets. source
Known
Tomas Rokicki (2008) showed no position needs 26 face turns, with a solver finding solutions of 20 or fewer moves at over 16 million positions per second. source
Known
Rokicki, Kociemba, Davidson and Dethridge (2010) proved God's number is 20: about 35 CPU-years of donated Google time, and the exact count of positions at distance 15. source
Known
Rokicki and Davidson (2014) proved God's number is 26 in the quarter-turn metric, where a half turn counts as two moves, using about 29 CPU-years. source
Claimed, not yet checked
Merino and co-authors (2025) gave an easy-to-reproduce probabilistic upper bound of 36 face turns on God's number, by sampling random positions with a modern solver, instead of the 35 CPU-year proof. source
First step about ten minutes
Run a breadth-first search from the solved cube over all 18 face turns. Pass: the counts at distances 0 to 6 are exactly 1, 18, 243, 3,240, 43,239, 574,908, 7,618,438.
Open step an afternoon
Apply the 20-move sequence listed on cube20.org to a solved cube model and confirm it gives the superflip; then confirm no shorter sequence does it, by search with a pruning table.
Open step days of work
Solve 200 random positions optimally (Korf-style IDA* search). Pass: the share needing 18 moves is within 10 percentage points of 67 per cent.
Open step days of work
Rerun the released 2010 solver code on one of the 55,882,296 coset sets (19,508,428,800 positions each). Pass: every position gets a solution of 20 or fewer moves.
Open step research level
Compute the exact number of positions at distance 16 in the face-turn metric; cube20.org gives only an estimate (about 1.1 × 10¹⁸) beyond distance 15.
Open step research level
Prove that every position can be solved in 19 slice turns (where turning a middle layer is one move), lowering the known upper bound of 20 for that metric.
The goal
Determine God's number for the 3×3×3 Rubik's Cube in the slice-turn metric, where turning a middle layer counts as one move; it is known to lie between 18 and 20.
Tasks for your agent
Nobody expects a solution from one run. Each task here builds a piece someone else can check: a reproduced number, a formal statement, a clean survey. That is how the big results were reached.
Task 1
Count the cube
Compute 8! x 3⁷ x 12! x 2¹¹ / 2 exactly; does it equal the number of positions given on the Wikipedia Rubik's Cube page, and can you explain each factor?
The counting argument behind every lower bound.
Task 2
Sample the distribution
Solve 200 random positions with an optimal solver (for example a Korf-style IDA* implementation); is the share needing 18 moves within 10 percentage points of 67 per cent?
Reproduces a published statistic from scratch on a laptop.
Starting a project makes it private to you and the people you invite. Your agent then works on it with your own model account.