Algebra

Nineteen copies and no more

Two of the icosahedron's rotations, chosen at random, generate all sixty of them nineteen times in thirty. Philip Hall found the number in 1936 by inclusion and exclusion over every subgroup at once, weighted by the Möbius function of the subgroups' order — and the same count says that nineteen copies of the group, side by side, can still be generated by two elements, while twenty cannot.

Worth reading first: Two random shuffles reach every shuffle · The sums of primitive roots are always whole.

Two random rearrangements of many letters almost always generate every rearrangement, and the failures can be bounded by adding up the chances of landing in each maximal subgroup. The bound is an overestimate, because some pairs lie in two maximal subgroups at once and are counted twice. For a group small enough to see whole, the double counting can be undone exactly, and the way to undo it is one of the most portable tools in combinatorics: inclusion and exclusion, done over every subgroup at once.

Philip Hall did it in 1936, in a paper with the plain title “The Eulerian functions of a group”. The group he used to show what the method could do was the rotation group of the icosahedron — sixty rotations, the same as the even rearrangements of five letters — and the answer he got for it, 19/3019/30, has a consequence nobody would guess: the number nineteen is the exact limit of something.

The 3,600 pairs

Sixty rotations make 3,600 ordered pairs, few enough to close every one.

The 3,600 pairs of icosahedral rotations, and what each pair generates. A 60 by 60 grid of ordered pairs of elements of A5 shaded by the order of the subgroup they generate; 2280 generate A5.
Fig. 1 The sixty rotations of the icosahedron down the side and across the top, grouped by their orders, and each of the 3,600 ordered pairs shaded by the order of the subgroup the two generate: the whole group (2,280 pairs), a copy of the twelve rotations of a tetrahedron, a copy of the ten symmetries of a pentagon, a copy of the six of a triangle, or something of order five or less.

Two thousand two hundred and eighty pairs generate the whole group: nineteen pairs in thirty. The rest fall into the smaller subgroups, and the shading shows which. The pale corner at the top left is the identity and the fifteen half-turns: a pair of half-turns generates at most the symmetries of a polygon. The largest coloured blocks are the copies of the tetrahedral group inside the icosahedral one — five of them, one for each of the five tetrahedra that can be inscribed in a dodecahedron, the classical fact behind the five solids reduced to three groups.

A direct count is enough for one group. Hall’s question was whether the count could be obtained from the structure — from the list of subgroups — without closing any pairs at all.

Inclusion and exclusion over subgroups

Every pair generates some subgroup. So the number of all pairs, 60260^2, is the sum over every subgroup HH of the number of pairs that generate exactly HH:

∣G∣2=∑H≤Gϕ(H),|G|^2 = \sum_{H \le G} \phi(H),

where ϕ(H)\phi(H) counts the pairs of elements of HH that generate all of HH. The same equation holds for every subgroup in place of GG: the pairs inside HH number ∣H∣2|H|^2, and each generates some subgroup of HH. That is a triangular system — the count for each subgroup is determined by the counts for the subgroups below it — and it can be solved from the bottom up, or all at once by the device that solves every such system: the Möbius function of the ordering by inclusion. The same device inverts sums over divisors in number theory, where it gives the sums of primitive roots, and over subsets, where it is the alternating sum that counts derangements. Here it gives

ϕ(G)=∑H≤Gμ(H,G) ∣H∣2.\phi(G) = \sum_{H \le G} \mu(H, G)\, |H|^2 .

The smallest case by hand

The system is easiest to trust on a group small enough to solve without a computer: the six symmetries of a triangle. Its subgroups are the trivial one, three of order two (the flips), one of order three (the turns) and the whole group. Work upwards. The trivial group is generated by its only pair, so ϕ(1)=1\phi(1) = 1. A group of order two has four pairs, of which one — the identity twice — generates the trivial group, so ϕ=3\phi = 3. The group of three turns has nine pairs, one of them trivial, so ϕ=8\phi = 8. The whole group has thirty-six pairs; subtract the eight that generate the turns, the three for each of the three flips, and the one trivial pair, and ϕ(S3)=36−8−9−1=18\phi(S_3) = 36 - 8 - 9 - 1 = 18.

Eighteen in thirty-six is one half, which is what closing every pair found for the rearrangements of three letters. The bottom-up solution and Hall’s formula are the same computation organised differently. The Möbius values for the triangle’s group are 11 for the whole group, −1-1 for each of the four maximal subgroups and, for the trivial subgroup, −(1−4)=3-(1 - 4) = 3, giving 36−9−4−4−4+3=1836 - 9 - 4 - 4 - 4 + 3 = 18. The formula’s advantage is that it needs only the lattice, not the counts beneath each node, and that most of its terms are zero in groups large enough to matter.

The fifty-nine subgroups, and their weights

Hall's sum over the subgroups of the icosahedral group. A₅ (order 60): 1 subgroups, μ = 1; A₄ (order 12): 5 subgroups, μ = -1; D₅ (order 10): 6 subgroups, μ = -1; S₃ (order 6): 10 subgroups, μ = -1; C₅ (order 5): 6 subgroups, μ = 0; V₄ (order 4): 5 subgroups, μ = 0; C₃ (order 3): 10 subgroups, μ = 2; C₂ (order 2): 15 subgroups, μ = 4; 1 (order 1): 1 subgroups, μ = -60; the sum is 2280.
Fig. 2 Every subgroup of the icosahedral group, 59 in all, grouped by type, with its Möbius value and its contribution to Hall’s sum, μ times the square of its order. The terms add to 2,280, exactly the number of generating pairs counted directly.

The Möbius values are 11 for the whole group, −1-1 for each maximal subgroup — the five tetrahedral groups, the six pentagonal ones, the ten triangular ones — and for the smaller subgroups whatever is needed to correct the overcounting. A subgroup of order three lies in one triangular group and two tetrahedral ones and was subtracted three times, so it gets +2+2. A subgroup of order two lies in several maximal subgroups whose intersections overlap again, and the bookkeeping gives +4+4. The subgroups of orders four and five are each contained in only one maximal subgroup, and their value is nought: they drop out entirely. The trivial subgroup gets −60-60.

The sum is 3,600−720−600−360+180+240−60=2,2803{,}600 - 720 - 600 - 360 + 180 + 240 - 60 = 2{,}280. The two numbers agree, and they agree for a reason that has nothing to do with this group: inclusion–exclusion over the subgroup lattice is an identity. What makes it useful is that most terms vanish. Hall proved that μ(H,G)\mu(H, G) is zero unless HH is an intersection of maximal subgroups, so only the top of the lattice matters, and for large groups the top is all anyone can compute.

The first three terms alone are the union bound from Dixon’s theorem: subtract the pairs inside each maximal subgroup. As a probability that is 1−5/25−6/36−10/100=0.5331 - 5/25 - 6/36 - 10/100 = 0.533, against the true 0.6330.633. The remaining terms repair the overcounting, and for this group the repair is a tenth of the answer.

Nine groups, counted twice

The method works for any finite group, and running it on several shows how the answer depends on the group.

How often two elements generate a small group. C₆ (order 6, 4 subgroups): 0.6667; V₄ (order 4, 5 subgroups): 0.3750; S₃ (order 6, 6 subgroups): 0.5000; D₄ (order 8, 10 subgroups): 0.3750; A₄ (order 12, 10 subgroups): 0.6667; S₄ (order 24, 30 subgroups): 0.3750; A₅ (order 60, 59 subgroups): 0.6333; S₅ (order 120, 156 subgroups): 0.4750; GL(3, 2) (order 168, 179 subgroups): 0.6786.
Fig. 3 For nine small groups, the share of ordered pairs that generate the whole group, each computed twice — by closing every pair and by Hall’s sum over the subgroup lattice — with the two agreeing in every case. The simple groups A5A_5 and GL(3,2)\mathrm{GL}(3, 2) are generated by 0.633 and 0.679 of their pairs; the four-element group V4V_4 by 0.375.

Size is not what decides the share. The four-element group with two independent switches, V4V_4, is generated by only three-eighths of its pairs, because it has three subgroups of order two and any pair inside one of them fails; in general the two-dimensional space over a field of pp elements is generated by a fraction (1−1/p)(1−1/p2)(1 - 1/p)(1 - 1/p^2) of its pairs, and for p=2p = 2 that is three-eighths. The group of rearrangements of four letters also manages three-eighths, and the group of five letters 0.4750.475. The two simple groups do best: the icosahedral group at 19/3019/30 and the group of 168 symmetries of the seven-point plane at 19/2819/28. A simple group has nowhere to hide a pair except in its maximal subgroups, and its maximal subgroups are few and small for the group’s size.

The tetrahedral group shows the mechanism in its simplest non-abelian form. Its twelve rotations have one subgroup of order four — the three half-turns with the identity — and four subgroups of order three, one for each vertex; those five are its maximal subgroups. A pair fails to generate exactly when both elements lie in one of them, and the subgroups of order three meet the subgroup of order four only in the identity, so almost nothing is counted twice: the chance of failure is 1/9+4/161/9 + 4/16, less the pairs of identities counted five times, which comes to exactly one third. Two in three pairs generate. The group of order twelve does as well as the icosahedral group, and better than the group of order twenty-four that contains it, because what matters is how much of the group its largest proper subgroups cover, and a group with a subgroup of index two covers a quarter of its pairs with that subgroup alone.

The agreement between the two columns is not a formality. Closing 28,224 pairs of the 168-element group and solving Hall’s system over its 179 subgroups are entirely different computations, and they produce the same 19,152.

Where the formula is linear algebra

For the groups V4V_4, (Z/3)2(\mathbb{Z}/3)^2 and their relatives the count has a second meaning that needs no lattice. Such a group is a vector space over a finite field, and two vectors generate it exactly when they are linearly independent: the first must be non-zero, p2−1p^2 - 1 choices, and the second must avoid the line through the first, p2−pp^2 - p choices. Divided by p4p^4 that is (1−1/p2)(1−1/p)(1 - 1/p^2)(1 - 1/p), the same product that decides when random equations can be solved in coding theory, there extended to many vectors. Hall’s sum reproduces it: the subgroups of the plane over pp elements are the plane, its p+1p + 1 lines and the origin, with Möbius values 11, −1-1 and pp, and p4−(p+1)p2+p=p(p−1)(p2−1)p^4 - (p+1)p^2 + p = p(p-1)(p^2-1).

That agreement is what makes Hall’s function a generalisation rather than a trick. For the abelian groups it is counting independent vectors, a question with a classical answer; for the icosahedral group it is counting something with no linear-algebra meaning at all, and the same identity still applies.

The nineteen kinds of generating pair

The number 2,2802{,}280 has a second reading. The icosahedral group has 120 symmetries of its own — its automorphisms, the rearrangements of five letters acting by conjugation — and a symmetry carries a generating pair to another generating pair.

The nineteen kinds of generating pair. (2,3,5): 1; (2,5,3): 1; (2,5,5): 1; (3,2,5): 1; (3,3,5): 1; (3,5,2): 1; (3,5,3): 1; (3,5,5): 2; (5,2,3): 1; (5,2,5): 1; (5,3,2): 1; (5,3,3): 1; (5,3,5): 2; (5,5,2): 1; (5,5,3): 2; (5,5,5): 1.
Fig. 4 The 2,280 generating pairs sorted into classes under the 120 automorphisms, labelled by the orders of a, b and their product. There are exactly nineteen classes, each of exactly 120 pairs; the order triples alone separate most but not all of them.

No symmetry can fix a generating pair without fixing everything the pair generates — the whole group — so every class has exactly 120 pairs, and 2,280/120=192{,}280 / 120 = 19. Each class is a genuinely different way of presenting the icosahedral group by two generators. The triple (2,3,5)(2, 3, 5) is the classical one: a half-turn about the axis through the midpoint of an edge, a third-turn about the axis through the centre of a face, and their product a fifth-turn about the axis through a vertex. It is the rotation group as a triangle group, the presentation a2=b3=(ab)5=1a^2 = b^3 = (ab)^5 = 1 that every picture of the icosahedron’s symmetry mirrors. The other eighteen classes are less familiar, and three of the order triples occur twice: the same orders, not equivalent under any symmetry.

Twenty copies need three generators

Here is the consequence. Put kk copies of the icosahedral group side by side — the group A5kA_5^k, whose elements are kk-tuples of rotations multiplied coordinate by coordinate — and ask whether two elements can generate it.

Nineteen copies of the icosahedral group need two generators; twenty need three. k = 1: 10^3.4; k = 2: 10^6.7; k = 3: 10^10.0; k = 4: 10^13.3; k = 5: 10^16.5; k = 6: 10^19.8; k = 7: 10^23.0; k = 8: 10^26.1; k = 9: 10^29.2; k = 10: 10^32.3; k = 11: 10^35.4; k = 12: 10^38.3; k = 13: 10^41.3; k = 14: 10^44.1; k = 15: 10^46.9; k = 16: 10^49.6; k = 17: 10^52.1; k = 18: 10^54.5; k = 19: 10^56.6; k = 20: 0; k = 21: 0.
Fig. 5 The number of ordered pairs that generate the product of k copies of the icosahedral group, as a power of ten: 2,280 × 2,160 × 2,040 × …, one factor smaller by 120 at each copy. It is positive up to nineteen copies and nought from twenty on.

A pair of kk-tuples generates the product when each coordinate is a generating pair of A5A_5 and no two coordinates are related by a symmetry: if two coordinates were related, the group generated would be confined to the tuples whose two coordinates are related in the same way, a “diagonal” subgroup much smaller than the product. That is Hall’s argument, and because A5A_5 is simple it is the only obstruction. So the count is 2,280×(2,280−120)×(2,280−240)×⋯2{,}280 \times (2{,}280 - 120) \times (2{,}280 - 240) \times \cdots, one class used up per coordinate. With nineteen classes, nineteen coordinates can be filled. The twentieth has none left.

A519A_5^{19} is generated by two elements; A520A_5^{20} needs three.

The reason the related coordinates are the only obstruction is a property of simple groups, and it is worth stating because it is where the icosahedral group’s refusal to come apart does its work. A subgroup of a product of two copies of a simple group that maps onto each copy is either the whole product or the graph of an isomorphism between the copies — Goursat’s lemma, specialised to a group with no normal subgroups to share. So the subgroup generated by a pair of tuples either is everything or is caught on a “diagonal” where two coordinates are tied together by a symmetry. Counting the tuples that avoid every diagonal is counting the classes, one per coordinate.

Nothing in the group’s appearance announces the jump. Its elements are 601960^{19} in one case and 602060^{20} in the other, both astronomically many, and in both cases two random elements look the same; but the first has two-element generating sets — about 105710^{57} ordered pairs of them — and the second has none. The number of generators a product needs is set by a count of classes, not by size, and it rises only slowly: A5kA_5^k needs three generators until the classes of generating triples run out, and Hall’s sum with cubes in place of squares counts 200,160200{,}160 generating triples in 1,6681{,}668 classes — so three generators suffice up to 1,6681{,}668 copies.

Polygons, triangles and tetrahedra, closed by brute force

Every count in the figures is exact. The 3,600 and 28,224 pairs were closed directly; the subgroup lists were built by closing every pair and keeping the distinct results, and Hall’s sum was evaluated over them and checked against the direct count for each of the nine groups. That check covers the one gap in the method: building subgroups from pairs finds only subgroups generated by two elements, and a group with a subgroup needing three would have a lattice with a missing node. For these groups no subgroup needs three, and the agreement of the two counts is the evidence that nothing was missed.

The product figure is computed from Hall’s formula, not by closing anything: A519A_5^{19} has far too many elements to enumerate. Its correctness rests on Hall’s theorem that a pair of tuples generates the product exactly when its coordinates are pairwise inequivalent generating pairs — a theorem, not a measurement — and the nineteen classes that feed it were counted directly. The jump at twenty is therefore proved, and the figure is its arithmetic.

What no figure here shows is why the classes come out as nineteen rather than any other number. Hall’s sum computes it; it does not explain it, and the count for other simple groups follows no visible pattern: the 168 symmetries of the seven-point plane have 336 automorphisms, and their 19,152 generating pairs fall into 19,152/336=5719{,}152 / 336 = 57 classes, so fifty-seven copies of that group are generated by two elements and fifty-eight are not.

Still open: the exact count for families

Hall’s method gives the number of generating pairs for any group whose subgroup lattice can be written down, and for many families of groups it has been carried out exactly: the groups PSL(2,p)PSL(2, p) were done by Hall himself, and their Eulerian functions are polynomials in pp. For most families it has not, because the top of the subgroup lattice — the maximal subgroups and their intersections — is not known in closed form. The probability that two random elements generate a finite simple group tends to one as the group grows, a theorem of Liebeck and Shalev that needs the classification of finite simple groups; the rate at which it does so, and the exact Möbius values that would give it, are known only family by family.

A sharper question concerns the product phenomenon. The largest kk for which SkS^k is generated by two elements is the number of classes of generating pairs of SS under its automorphisms, and for the sporadic simple groups — the Monster among them — that number is enormous and its exact value generally unknown, because it requires the Möbius function of a lattice nobody has fully listed.

The question also has a practical side that keeps it alive. Algorithms that compute with large permutation groups — checking whether a puzzle position is reachable, finding a group’s order from a few generators — work by drawing random elements and assuming that a handful of them generate whatever they are drawn from. Hall’s numbers, and their asymptotic versions for the simple groups, are the guarantee behind that assumption: a constant fraction of pairs generate, so a few tries suffice. How large that fraction is for the groups that actually arise in such computations, which are rarely simple and often products, is exactly the Möbius sum that is hard to evaluate, and in practice it is estimated by sampling rather than computed.

A count that ends

The question “how likely is it that two random elements generate this group” has, for the icosahedral group, the answer nineteen in thirty, and Hall’s method computes it without closing a single pair: weight every subgroup by its Möbius value and the square of its size, and add. Most weights are nought, and the rest repair the overcounting that a simple union bound commits.

The same number, read differently, is a count of the essentially different ways to generate the group with two elements — nineteen — and that count is a limit on products: nineteen copies of the icosahedral group can be driven by two elements, and the twentieth copy is one too many. It is a rare example of a structural fact about infinite-looking objects that can be read straight off a small, exact, finite sum.

What links here

Computed from the collection, not written here: the essays that point at this one.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

Alternating groupGenerating setInclusion exclusionMobius functionProbabilitySimple groupSubgroup