Bistro Research

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.

Pictogram of God's number for the Rubik's Cube

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

    Machine: no check appliesPeople: passedFUN 2026, LIPIcs 31

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

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.

  1. 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

  2. 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

  3. Known

    Daniel Kunkle and Gene Cooperman (2007) proved 26 face turns always suffice, using a large-memory computation over cosets. source

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. 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.

  14. 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.

  1. 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.

  2. 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.

No choice saved yet: optional storage is off. Changing it here takes effect at once. Every cookie we use