43,252,003,274,489,856,000
23 NOV 2024We all know that if you fix the centers of a 3x3, there are 43,252,003,274,489,856,000 valid permutations of the pieces. For some reason, I can’t find a cohesive, detailed account of the group-theoretic approach to finding this number, so I’m writing one.
Assume fixed centers. I’m going with white top, green front because it’s the least arbitrary choice. Firstly, the set of permutations of pieces is isomorphic to some subgroup \(P\) of \(S_{48}\). There are 8 corner pieces with 3 stickers and 12 edges with 2 stickers, for \((8 \cdot 3 + 12 \cdot 2)! = 48!\) total ways to arrange the stickers on the cube (assume each sticker is uniquely identifiable), regardless of if the arrangement makes any sense. \(P\) is the colourings that at least respect that each piece has a unique life story, a family and kids, a cottage up north, etc.
Finding \(\lvert P \rvert\) is easy. Because each piece is distinct, you simply fill piece slots while accounting for different orientations. The first corner you fill has 8 pieces to choose from, then three orientations of that piece. The next slot chooses from 7 pieces, again with 3 orientations, and so on. This gives \(\lvert P \rvert = 8! \cdot 3^{8} \cdot 12! \cdot 2^{12}\).
We’re interested in \(C\), the subset of \(P\) where the permutation of pieces is solvable. We’ll also take for granted that \(C \leq P\). By Lagrange’s theorem, to find \(\lvert C \rvert\) we just need to find how many cosets of \(C\) in \(P\) there are. In other words, we want to know how many distinct ways there are to fuck up a cube. It turns out there are 11:
\(C\) | CT | CT' | EF | CT, EF | CT', EF |
Edge Swap | ES, CT | ES, CT' | ES, EF | ES, CT, EF | ES, CT', EF |
In this table,1 CT means a clockwise corner twist (CT’ is counter-clockwise), EF means an edge flip, and ES means an edge swap (preserving orientation). Of course, the images only depict what I think are the simplest representatives of each coset.
Legal moves (R, L, U, D, F, B) cannot move between these cosets, since \(C\) is the subgroup of \(P\) generated by them.
To see why an edge flip is illegal, we will define a homomorphism \(\varphi : P \rightarrow \mathbb{Z}_2\) for which \(\varphi(C) = \{0\}\). First, assign each sticker of each edge a value in \(\{0, 1\}\) as follows:
- If the edge has a white or yellow sticker, assign it 0, the other 1.
- Otherwise, the edge must have a blue or green sticker. Assign it 0, the other 1.
Then, define \(\varphi\) to be the sum of all values of edge stickers on the U face, D face, and F and B middle edges. That is, all the positions with value 0 for the solved state, \(e\).
By construction, \(\varphi(e) = 0\), and notice \(\varphi(a) = 0\) for any of the generators \(a \in \{U, D, R, L, F, B\} \subset C\). FMC or ZZ enjoyers might notice that \(\varphi\) just counts the number of mis-oriented edges, which is always even for any state in \(C\).
I’m far too lazy to actually show \(\varphi\) is a homomorphism, but maybe it’s obvious. Then since each generator is in \(\ker(\varphi)\), it follows that \(\varphi(C) = \{0\}\). However, \(\varphi(\text{EF}) = 1\), so \(\text{EF} \not\in C\). To show that CT, CT’ et al. are distinct from \(C\), a similar homomorphism \(\psi : P \to \mathbb{Z}_3\) exists by labelling the corners in a natural way, as detailed in this post. Surely one is also constructible for edge swaps, but I don’t want to think of one.2
As for why these are the only fuckups, any number of (just) corner twists can be reduced to either \(C\), CT, or CT’ with ZBLL U72:3 R U2 R’ U’ R U’ R’ U2 R’ U2 R U R’ U R U2, which rotates two adjacent corners (UFR and UBR) in opposite directions. Likewise, any number of edge flips can be reduced to \(C\) or EF using a particular OLL284 (r U R’ U’ r’ U2 R U R U’ R2 U2 R) alg that flips two edges (UF and UR). Of course, you can independently perform these operations with the hybrid cosets.
ZBLL U72 | OLL 28 |
For reducing to ES-related cosets, if you swap more than two of any piece type, there’s always some commutator that can cycle 3 pieces of the same type, for instance both A perms and the U perms. It’s what makes 3-style work! So swapping two of the same piece type is the most (only) illegal swap-related operation you can perform. On a related note, two-edge swaps are the same coset as two-corner swaps, because no matter if they’re adjacent or opposite, you can always select a particular PLL from F, J, N, R, T, V, Y that swaps the edges of interest, replacing them with two swapped corners.
That’s it! As long as you’re convinced these are the only cosets of \(C\) in \(P\), Lagrange’s theorem gives \([P : C] = 12\), hence
Stay tuned for the post where I gather the courage (boredom) to walk through finding the number of permutations up to conjugacy by whole-cube symmetries (901,083,404,981,813,616).
-
In fact, if you have all three of these homomorphisms you can simply construct a massive surjective homomorphism \(\Phi : P \to \mathbb{Z}_3 \times \mathbb{Z}_2 \times \mathbb{Z}_2\) with \(\ker(\Phi) = C\), proving the result instantly and that \(C\) is a normal subgroup of \(P\). ↩
-
ZBLL L72: R U R’ U R U’ R’ U R U2 R’ U’ R U2 R’ U’ R U’ R’ U’ also works, twisting UFR and UBL. ↩
-
or OLL57 (M’ U2 M U R’ F’ R S R’ F R S’ U), flipping UF and UB. ↩