contents
§31

Rotational puzzles on graphs — Jaap's (x, y, z) classification

Abstract the cube's face turns to any graph: a connected graph with marked faces (directed cycles); each face gives a generator that cyclically rotates its pieces. The puzzle group is a subgroup of ( = piece count). Natural question: which graphs give , which , which something exotic?

31.1 Formalisation: graph, face, generator

Definition 31.1 — rotational graph puzzle
Given a finite connected graph with , plus a family of marked directed closed cycles called faces. Each face is an ordered subset of . Pieces sit on vertices one-to-one. Each face gives a generator that cyclically pushes pieces along the cycle. The puzzle group is

Three immediate examples:

A subtle point: a face need not be a "face" in the planar-embedding sense — it is just a marked directed cycle, so the same graph can carry different face sets. Jaap focuses on the two-face case: exactly two cycles, together covering every vertex.

31.2 Two-face theorem — the (x, y, z) triple

Two faces share a contiguous segment. Let face 1 have unique pieces, face 2 have unique, and be shared, so . Without loss of generality . Face lengths are , .

Theorem 31.2 — Scherphuis (two-face classification)
Suppose . ThenWhen the puzzle is degenerate: face too short to yield a 3-cycle.

Proof sketch (Jaap's exposition):

  1. Parity: is an -cycle with . If both are odd, ; if one is even, contains an odd permutation, so it can equal once we know .
  2. Constructing a 3-cycle: the commutator is non-trivial and, in most face-size combinations, equals a 3-cycle or factors into 3-cycles. Key cases:
  3. y = 1: with one shared piece, the commutator is exactly a 3-cycle ( pushes it one step on face 1, pushes onto face 2, the inverses retrace — three vertices touched).
  4. y ≥ 3 and (x,z) ≠ (2,2): a seven-step combination of and produces a 3-cycle. Since 3-cycles generate , we get .
  5. Verifying the exceptions: (2,2,2) and (1,3,2) both have but order stops at 120 = 5! < 360 = 6!/2. Direct group-theoretic computation or GAP confirms.

What is this order-120 group? It is not the standard -on-5-points but the exceptional action of on 6 points coming from on the projective line (6 points). This is the same "6-vs-5" sporadic isomorphism that drives §30.

(x, y, z) live classifier
face 1 · 3face 2 · 3
group generated
A5
|G| = 60
both faces odd length ⇒ only even permutations ⇒ A_n

This covers Pyraminx two-face (2,1,2 ⇒ ), Impossiball two-face (3,2,3 ⇒ ), Alexander's Star (4,1,4 ⇒ ). It also explains why (2, 2, 2) feels special — its 6 corners are exactly the §30 story.

31.3 Worked examples — eight (x, y, z) specimens

Substitute the theorem into eight notable triples and see where each falls. The "construction" column gives an explicit short commutator producing a 3-cycle — easy to verify by hand:

(x, y, z)n(f₁, f₂)group|Γ|construction
(1, 1, 1)3(2, 2)3degenerate (faces too short)
(1, 2, 1)4(3, 3)12 = 3-cycle
(2, 1, 2)5(3, 3)60; Pyraminx local
(1, 3, 2)6(4, 5) (exceptional)120isomorphic to (2,2,2); kernel of Wilson's θ₀
(2, 2, 2)6(4, 4) (exceptional)120
(3, 2, 3)8(5, 5)20,160both odd faces; Impossiball local
(4, 1, 4)9(5, 5)181,440Alexander's Star local
(3, 3, 3)9(6, 6)362,880even faces ⇒ odd perm ⇒ full S

Note (2,1,2) ⇒ of order 60 — the smallest non-Abelian simple group, proven in §21. Pyraminx's two-face local pattern realises the very bottom of the classification of finite simple groups. A plastic toy bottoms out one of the 19th century's greatest mathematical achievements.

Two-face turner — live parity & cycle type
L · 3R · 3ABCDE
current permidentity e
parity+1 (even)
cycle type1^5

Try (2,1,2): press L, R, L⁻¹, R⁻¹ — you should see a 3-cycle (type 3·1², sgn = +1). Try (2,2,2): the same commutator yields a longer cycle, not a 3-cycle — visual evidence of (2,2,2)'s "stuck at 5!" anomaly.

31.4 Three faces and beyond — open classification

Real physical puzzles are mostly not two-faced. The cube has 6 faces, the Megaminx 12, the Pyraminx 4 — each extra face is a new generator and the combinatorics explodes. What's known:

31.5 Wilson 1974 — the sliding-puzzle companion classification

In 1974 R. M. Wilson published Graph Puzzles, Homotopy, and the Alternating Group giving the complete classification for sliding puzzles: a single "blank" slides along edges of a connected graph from initial vertex . The state group is generated by "blank-around-a-face" operations — essentially the "blank-included" cousin of Thm 31.2.

Theorem 31.3 — Wilson (1974)
Suppose is connected with minimum degree ≥ 2. The sliding-puzzle group equals:Here is the unique sporadic graph: two length-4 paths sharing two endpoints plus an extra edge connecting the midpoints — equivalent to inserting a blank into the central shared segment of the (1,3,2) rotational puzzle.

Three families of exceptions:

Wilson three-cases visualiser
1234567
The θ₀ graph: Wilson 1974's unique sporadic exception. 7 vertices (1 blank + 6 tiles), state group of order 120 — isomorphic to (2,2,2) and (1,3,2), and to §30's exotic S_5 on 6 points. Merging the two trivalent vertices recovers the (1,3,2) rotational puzzle.

The 15-puzzle is bipartite (the 4×4 grid is two-coloured by checkerboard), so Wilson's theorem gives , not . That is the algebraic explanation of Loyd's 1880 "$1000 prize for swapping 14 and 15": the swap is a transposition, an odd permutation in — provably unreachable.

Wilson's proof goes through homotopy: view as a 1-complex; blank moves are edge paths; "around a face" is a null-homotopic loop. The state group is essentially the image of in the representation. Combinatorics translated to algebraic topology — a strikingly modern observation for 1974.

31.6 Computer-aided classification — Schreier-Sims

Given generators compute . Brute enumeration is exponential. In 1970 C. Sims gave a polynomial-time algorithm — Schreier-Sims:

  1. Choose a base so that
  2. For each stabiliser layer compute its orbit via "Schreier generators"
  3. Orbit-stabiliser yields

Complexity ; Seress 2003 surveys many refinements that handle . GAP, sympy and Magma ship Schreier-Sims out of the box: feed in the cube's six face generators and get in seconds.

Schreier-Sims step trace on S₅
step 0 / 5
generators
g₁ = (1 2 3 4 5), g₂ = (1 2). Candidate G ⊆ S₅
12345
current generators: g₁, g₂

Schreier-Sims output for small puzzle groups:

puzzle# gensn|G|time
15-puzzle121510,461,394,944,000&lt; 1 s
2×2×26243,674,160< 1 s
Pyraminx81475,582,720< 1 s
Skewb8143,149,280< 1 s
3×3×36484.33 × 1019< 10 s
Megaminx121321.01 × 1068minutes
4×4×412967.40 × 1045minutes

31.7 Surfaces, quotients, and wreath products

Strip away the physical packaging and a rotational puzzle is a discrete quotient of a manifold rotation action. The 2×2×2 corner state space is exactlywhere tracks "the 7 independent corner orientations (the 8th is forced by the orientation-sum conservation law)" and tracks corner positions. The semidirect product encodes "positions move first, orientations follow."

More generally, the wreath product describes " objects, each with orientation, freely permuted and individually twisted":with acting on by permuting coordinates. Order .

Wreath products correspond directly to covering spaces: each is one piece's orientation circle (), and the configuration space of pieces is a -fold quotient; the wreath product is the discrete symmetry of this "position × orientation" total manifold. See M. Davis, The Geometry and Topology of Coxeter Groups.

31.8 Puzzle gallery — 12 physical specimens vs (x, y, z)

Apply the classification to physical puzzles. Click each card to inspect its (x,y,z) decomposition (when applicable), its group, its order, and a one-line intuition:

12 puzzles, one by one
Exceptional (2,2,2)
(x, y, z) = (2, 2, 2)   n = 6
S_5
|G| = 120
6 pieces but only 120 reachable — matches §30 exotic S_5 on 6 points

Note that (2,1,2) recurs: Pyraminx, Skewb, and any "tetrahedron-face-plus-an-axis" local pattern look like this, making the "algebraic LCM of tetrahedral symmetry." This is exactly why the Pyraminx's edge positions embed in — 6 edges modulo 4 face rotations equals the induced action of .

"Every plastic puzzle is a missionary for some finite group."
modern group-theory teaching folklore

31.9 Open problems

  1. k-face classification: the two-face theorem has 2 exceptions. For how many exceptions are there? Is the list finite? Jaap lists a few specific three-face anomalies but no general theorem.
  2. Disconnected overlap: Hungarian Rings, Whip-It, etc. share two disjoint arcs. The (x,y,z) parameterisation fails; one needs the multiset of overlap lengths. Only scattered results.
  3. Oriented graph puzzles: Jaap's classification assumes unoriented pieces. Add per-vertex orientation with conservation laws, the puzzle group becomes a subgroup of — which conservation laws can arise?
  4. Jumbling puzzles: helicopter cube and friends have "non-integer face turns"; the state space is no longer a group but a manifold. Modern attempts beyond Hofstadter are sparse — the next frontier of puzzle algebra.
  5. Diameter: for (x,y,z) rotational puzzles, what is the Cayley diameter of ? The exceptional (2,2,2) has diameter 5. No closed form is known for the generic case.

31.10 Wreath products S_k ≀ ℤ_n — the algebra of orientation

Take objects each carrying orientation (n = 2 for edges, n = 3 for corners, n = 4 for cube centres). Orientation is a function ; permuting positions drags orientations along. The total group isMultiplication rule:where ("permute, then twist").

The group of an actual puzzle is the subgroup of a wreath product cut out by conservation laws. For example:

Graph-theoretic side: is the symmetry of " dangling -strings, freely permuted." In Cayley-graph theory wreath products are the classical recipe for constructing groups of large diameter, used in the 1930s to settle questions about maximal subgroups of . Modern view: a wreath product is the automorphism group of a "coloured forest" (the algebraic dual of Boyer-Moore data structures).

This section promotes "Rubik's cube" to "rotational puzzle on a graph": two faces give (x, y, z); many faces give wreath subgroups; computation runs through Schreier-Sims; the limit is jumbling manifolds. Wilson 1974's sliding cousin supplies the dual viewpoint, and homotopy translates combinatorics into algebraic topology. The exception lives forever at (2,2,2): acting on 6 points — the puzzle theory's smallest pretty counterexample, and the stitch that sews this section into §30.

cuberoot.me · Rubik's Cube as a Group · 2026