Technique · CP 2000
Burnside's Lemma / Polya Counting
The number of objects distinct up to a symmetry group is the average, over the group, of the number of objects each symmetry fixes. For necklaces under rotation: (1/n) * sum over k of m^gcd(k, n).
0%
mastery
0/2 solved
0/2 solved
Recognise it
The signal
count necklaces / grids up to rotation or reflection
1Brute force
Generate every colouring and canonicalise it: m^n.
2The observation
Counting orbits directly.
3Why it works
Number of orbits = (1/|G|) * sum over g of |Fix(g)|.
Reach for it when
- +'two colourings are the same if one is a rotation of the other'
Not when
- ×no symmetry identification in the statement
Practice
0/2 solved
- Counting NecklacesCSESHard
- Counting GridsCSESHard
Pitfalls
Misconceptions
- !dividing by |G| without a modular inverse
- !forgetting reflections when flipping is allowed