Games●●●●●Difficulty 3 of 5

How can a Rubik's Cube with 43 quintillion positions always be solved in 20 moves?

Its inventor needed about a month to solve his own cube; computers later proved that no scramble ever needs more than 20 turns.

▶ Start the story

Because researchers proved it with the help of a lot of computers. A standard Rubik's Cube can be twisted into 43,252,003,274,489,856,000 arrangements, about 43 quintillion. Yet in July 2010 a team of researchers including Tomas Rokicki, using computers provided by Google, proved that every single one can be solved in 20 moves or fewer. Puzzle fans call that limit God's number.

A scrambled Rubik's Cube with mixed coloured squares on each visible face
A scrambled cube: one of 43 quintillion positions, none of them more than 20 moves from solved.Photo: Lars Karlsson (Keqs) · CC BY-SA 3.0

The giant number comes from counting the pieces. The cube has eight corners that can be arranged 40,320 ways, and seven of them can be twisted freely, giving 2,187 more options. Its twelve edges add hundreds of millions of arrangements, and eleven of them can be flipped. Multiply it all and you get 43 quintillion. One cube for each position would cover Earth's surface 275 times.

Counting the positions
  1. Step 1: Arrange 8 corners

    8! = 40,320

  2. Step 2: Twist 7 corners

    3^7 = 2,187

  3. Step 3: Arrange 12 edges

    12!/2 = 239,500,800

  4. Step 4: Flip 11 edges

    2^11 = 2,048

  5. Step 5: Multiply

    43,252,003,274,489,856,000

The human story is charming. The cube was invented in 1974 by Ernő Rubik, a Hungarian sculptor and architecture professor, who was really trying to build a structure whose small parts could move independently without falling apart. Only after scrambling it did he realise he had made a puzzle, and it took him about a month to solve his own creation.

In practice nobody needs 20 moves very often. A random scramble most likely needs 18, and only about one scramble in 90 billion needs the full 20. Most people, however, never found the short path: when the cube became a craze, most people could solve only one or two sides.

Quiz me

0/3

  1. 1.Why is the number of corner orientations 3^7 rather than 3^8?
  2. 2.What does it mean that God's number is 20?
  3. 3.Why do human solvers use far more than 20 moves?

Recap

Corners and edges multiply to 43 quintillion positions, yet none is more than 20 moves from solved.

Surprising fact · Only about one scramble in 90 billion actually needs the full 20 moves; most need 18.

Sources (2)

No source, no claim. Every fact in this lesson (16 claims) cites at least one of these.

  1. [1]Rubik's Cube · Wikipedia
  2. [2]Optimal solutions for the Rubik's Cube · Wikipedia
More lessons in 🎲 Games (3) See all games lessons →

One more light on your map.

Get one lesson like this every day, about the things you love. Free, in two or five minutes.

Get the share card for this lesson ↗