contents
§23

Distance distribution & the 20-move proof

The cube's Cayley-graph distance distribution is a striking diagram: nearly all 4.3 × 10¹⁹ states land at d = 18 or 19, while only 4.9 × 10⁸ states sit at d = 20. This distribution is exactly what the God's-number-20 proof produced.

23.1 Interactive chart (HTM)

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
hover to see count at each distance d
enumerated (Rokicki et al.) approximated

Vertical axis is log₁₀(count). A few features to notice:

23.2 HTM vs QTM

MetricGeneratorsDiameterRandom avgBound proof
HTM (half-turn)1820~182010 Rokicki et al.
QTM (quarter-turn)1226~222014 Rokicki & Kociemba
STM (slice)27≤ 20 (unproven)~17partial enumerations

23.3 Superflip & the "strict-20" club

Four states were once known as "the furthest": superflip (all edges flipped; Reid 1995 proved it requires 20 HTM), and superflip composed with the 4-spot or 6-spot patterns. After 2010, the full census reveals 4.9 × 10⁸ states at exactly distance 20.

Interestingly, these 4.9 × 10⁸ "farthest" states make up 10⁻¹¹ of |G|. A random scramble has expected distance 18 and essentially never hits 20. The "God's number" is an extreme-value result, not a measure of difficulty.

23.4 Exact numerical table (HTM)

The table below gives exact counts for d = 0…15 (full enumeration, Kociemba 2013) and the established counts for d = 16…20 (symmetry-reduced proofs after Rokicki et al. 2014). The column totals to |G| = 43,252,003,274,489,856,000.

dstates at dfraction of |G|ratio
01~0
118~018.0×
2243~013.5×
33,240~013.3×
443,239~013.3×
5574,908~013.3×
67,618,438~013.3×
7100,803,036~013.2×
81,332,343,2883.1 × 10-1113.2×
917,596,479,7954.1 × 10-1013.2×
10232,248,063,3165.4 × 10-913.2×
113,063,288,809,0127.1 × 10-813.2×
1240,374,425,656,2489.3 × 10-713.2×
13531,653,418,284,6281.2 × 10-513.2×
146,989,320,578,825,3581.6 × 10-413.1×
1591,365,146,187,124,3132.1 × 10-313.1×
16≈ 1.10 × 10182.5%12.0×
17≈ 1.22 × 101928.3%11.1×
18≈ 2.98 × 101968.9%2.4×
19≈ 1.50 × 10183.5%0.05×
20490,000,0001.1 × 10-113.3 × 10-10×
21+00
Σ4.325 × 1019100%= |G|

The "ratio" column shows the geometric structure of the Cayley graph: from d = 1 to d = 15, each shell grows by ~13.2× (well below 18, because moves like overlap and reduce the effective branching factor). Then between d = 16…18, growth saturates dramatically — 97% of G's elements cluster in shells 17 and 18. d = 19 already drops to 3.5%; d = 20 is nearly empty (only 4.9 × 108). This is the canonical "ball explosion then boundary collapse" shape of finite Cayley graphs.

Corollary 23.4 — average distance
where is the state count at distance d. A uniformly random scramble has expected optimal length ~17.97 HTM (~22 in QTM). The gap from human solvers (~50–60 HTM) reflects the cost of using heuristic strategies rather than optimal search — about a 40-move gap.

23.5 Growth function & asymptotic geometry

For any group G with generating set S, the ball growth function isthe total state count within radius r. For the finite cube group, B(r) saturates at |G| for r ≥ 20. For infinite groups (free groups, hyperbolic groups), the asymptotic growth of B(r) reveals a group's "geometric dimension."

The cube group is finite, so growth is ultimately constant (B(r) = |G| for r ≥ 20). But in the "young" regime r ≤ 12, growth is nearly exponential (~13.2× per step), close to the free group 's 18× — until relations accumulate. This "exponential growth then collapse" is the standard template for studying word-length functions and group diameters.
cuberoot.me · Rubik's Cube as a Group · 2026