Folioby Interconnected
Log InSign Up

Counting under symmetry: Burnside's lemma and Polya's enumeration theorem

When objects related by rotation or reflection are considered identical -- as with necklaces -- naive counting fails. Using the language of group actions, Burnside's lemma reduces the problem to a clean formula: the number of distinct objects equals the average number of fixed points across the group.

FO
Folio Official
March 1, 2026

"How many distinct necklaces can be made from four beads using three colors?" The difficulty is not in the counting itself but in the requirement that necklaces related by rotation be considered identical. In the presence of symmetry, naive enumeration breaks down. Burnside's lemma resolves the problem by reducing the count to a single, elegant formula: the average number of colorings fixed by each symmetry.

1 Why naive counting fails

Example 1 (Necklace coloring).
A necklace of four beads is to be colored using three colors. How many distinct necklaces are there, where two colorings are considered the same if one can be rotated into the other?

Ignoring rotations, there are 34=81 colorings. The four rotations (0°, 90°, 180°, 270°) identify some of these, so one might try dividing by 4. But 81/4=20.25, which is not an integer.
Remark 2.
The failure of naive division stems from the fact that different colorings have orbits of different sizes. The monochromatic coloring "all red" is unchanged by every rotation (its orbit has size 1), whereas a coloring with four distinct colors generates four different colorings under rotation (orbit of size 4). Dividing by 4 implicitly assumes all orbits have the same size, which is false.

2 Group actions and orbits

Definition 3 (Group action).
A group Gacts on a set X if for each g∈G there is a map g:X→X such that
  1. e⋅x=x for all x∈X (the identity acts trivially), and

  2. (gh)⋅x=g⋅(h⋅x) for all g,h∈G and x∈X (compatibility with the group operation).

Definition 4 (Orbit).
The orbit of x∈X under the action of G is Orb(x)={g⋅x∣g∈G}– the set of all elements reachable from x by applying elements of G.
Remark 5.
In the necklace example, G=Z/4Z (the cyclic group of rotations) and X is the set of all 34=81 colorings. Two colorings that are related by a rotation belong to the same orbit. The quantity we seek is the number of orbits.

3 Burnside's lemma

Definition 6 (Fixed-point set).
For g∈G, the fixed-point set of g is Fix(g)={x∈X∣g⋅x=x}.
Theorem 7 (Burnside's lemma).
Let a finite group G act on a finite set X. Then the number of orbits ∣X/G∣ is
∣X/G∣=∣G∣1​g∈G∑​∣Fix(g)∣,
the average number of fixed points over all group elements.
Proof.
Define S={(g,x)∈G×X∣g⋅x=x} and count ∣S∣ in two ways.

Summing over g first: ∣S∣=∑g∈G​∣Fix(g)∣.

Summing over x first: for a fixed x, the set of g satisfying g⋅x=x is the stabilizerStab(x). By the orbit–stabilizer theorem, ∣Orb(x)∣⋅∣Stab(x)∣=∣G∣, so ∣Stab(x)∣=∣G∣/∣Orb(x)∣. Therefore
∣S∣=x∈X∑​∣Stab(x)∣=x∈X∑​∣Orb(x)∣∣G∣​.

For each orbit O, the sum ∑x∈O​1/∣O∣=1, so ∣S∣=∣G∣⋅(number of orbits).

Equating the two expressions for ∣S∣ and dividing by ∣G∣ yields the result. □

4 Solving the necklace problem

Returning to four beads in three colors with the rotation group G={r0,r1,r2,r3} (where r denotes 90° rotation):

Example 8.
We compute the number of fixed colorings for each group element:
  • r0 (identity): every coloring is fixed, so ∣Fix(r0)∣=34=81.

  • r1 (90° rotation): a coloring is fixed only if all four beads share the same color, so ∣Fix(r1)∣=3.

  • r2 (180° rotation): a coloring is fixed if opposite beads match, so ∣Fix(r2)∣=32=9.

  • r3 (270° rotation): same constraint as r1, so ∣Fix(r3)∣=3.

By Burnside's lemma,
∣X/G∣=41​(81+3+9+3)=496​=24.

5 Polya's enumeration theorem

Polya's enumeration theorem refines Burnside's lemma by tracking the cycle structure of each group element.

Definition 9 (Cycle index).
Let G act on {1,2,…,n}. For each g∈G, decompose the permutation induced by g into disjoint cycles and let ck​(g) denote the number of cycles of length k. The cycle index of G is
Z(G;s1​,s2​,…,sn​)=∣G∣1​g∈G∑​k=1∏n​skck​(g)​.
Theorem 10 (Polya's enumeration theorem).
The number of distinct colorings using m colors is Z(G;m,m,…,m). Moreover, by substituting appropriate monomials for the sk​, one can track the number of beads of each color.
Example 11 (Cycle index of the rotation group).
For the cyclic group Z/4Z acting on four beads, the cycle index is
Z(Z/4Z)=41​(s14​+s4​+s22​+s4​).

Setting sk​=m for all k gives 41​(m4+2m+m2). For m=3: 41​(81+6+9)=24, consistent with our earlier computation.

6 Takeaway

  • Counting under symmetry amounts to counting orbits of a group action.

  • Burnside's lemma: ∣X/G∣=∣G∣1​∑g​∣Fix(g)∣– the average number of fixed points.

  • Polya's enumeration theorem refines Burnside's lemma using the cycle index.

  • These tools are indispensable for problems involving rotational or reflective symmetry, such as necklace colorings.

In the final article, we explore the deep relationship between combinatorics and dynamic programming, and take a retrospective view of the entire series.

CombinatoricsMathematicsBetween the Lines
FO
Folio Official

Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.

1 followers·107 articles
Combinatorics — Between the LinesPart 7 of 8
Previous
The pigeonhole principle: a surprisingly powerful tool for existence proofs
Next
Combinatorics meets dynamic programming: when counting becomes computation

Share your expertise with the world

Write articles with LaTeX support, build your audience, and earn from your knowledge.

Start Writing — It's Free

More from Folio Official

Folio Official·March 1, 2026

Recurrences and generating functions: what happens when you turn a sequence into a function

A generating function is the "business card" of a sequence. Multiplication becomes convolution, and recurrences become algebraic equations. We derive the closed form for the Fibonacci numbers (Binet's formula) as a showcase of the method.

CombinatoricsMathematicsBetween the Lines
Folio Official·March 1, 2026

Combinatorics meets dynamic programming: when counting becomes computation

Dynamic programming is bottom-up evaluation of a recurrence; a generating function is its analytic closed form. We draw the correspondence between the knapsack DP and generating function multiplication, discuss convolution and FFT, and survey the connections across the entire series.

CombinatoricsMathematicsBetween the Lines
Folio Official·March 1, 2026

Inclusion--exclusion: why the alternating signs work

The inclusion--exclusion principle corrects for overcounting by alternately adding and subtracting intersection sizes. We prove the general formula using indicator functions, apply it to count derangements, and trace the thread forward to the Mobius inversion formula on partially ordered sets.

CombinatoricsMathematicsBetween the Lines
Folio Official·March 1, 2026

What does it mean to count? Addition, multiplication, and surjections

Counting is the act of measuring the cardinality of a set. Whether you add or multiply depends on whether your set decomposes as a disjoint union or a Cartesian product. From this single viewpoint, permutations, combinations, and the surjection formula all emerge naturally.

CombinatoricsMathematicsBetween the Lines