Mathwords logoMathwords

Glaisher's Theorem — Definition, Formula & Example

Glaisher's Theorem is a counting result about integer partitions. For any whole number d ≥ 2, the number of ways to split n into parts that are not multiples of d equals the number of ways to split n so that no part is used d or more times.

Let n≥1n \ge 1 and d≥2d \ge 2 be integers. Let Ad(n)A_d(n) be the number of partitions of nn with no part divisible by dd, and let Bd(n)B_d(n) be the number of partitions of nn in which each part appears at most d−1d-1 times. Then Ad(n)=Bd(n)A_d(n) = B_d(n) for every nn. The case d=2d = 2 is Euler's partition theorem: partitions into odd parts are equinumerous with partitions into distinct parts.

Key Formula

∏k≥11−qdk1−qk  =  ∏k≥1(1+qk+q2k+⋯+q(d−1)k)\prod_{k \ge 1} \frac{1 - q^{dk}}{1 - q^{k}} \;=\; \prod_{k \ge 1} \left(1 + q^{k} + q^{2k} + \cdots + q^{(d-1)k}\right)
Where:
  • qq = Formal variable; the coefficient of qnq^n on each side counts partitions of nn
  • dd = Fixed integer, at least 2
  • kk = Index running over the possible part sizes 1, 2, 3, ...

Worked Example

Problem: Verify Glaisher's Theorem for n = 6 and d = 3. Count the partitions of 6 with no part divisible by 3, and the partitions of 6 with no part used 3 or more times.
Step 1: Start from all 11 partitions of 6. Remove any partition containing a 3 or a 6. These four go: 6, 3+3, 3+2+1, 3+1+1+1. The remaining partitions use only the parts 1, 2, 4, 5.
5+1,  4+2,  4+1+1,  2+2+2,  2+2+1+1,  2+1+1+1+1,  1+1+1+1+1+1⇒A3(6)=75+1,\; 4+2,\; 4+1+1,\; 2+2+2,\; 2+2+1+1,\; 2+1+1+1+1,\; 1+1+1+1+1+1 \quad\Rightarrow\quad A_3(6) = 7
Step 2: Return to the 11 partitions. Now remove any partition in which some part appears 3 or more times. These four go: 2+2+2, 3+1+1+1, 2+1+1+1+1, 1+1+1+1+1+1.
6,  5+1,  4+2,  4+1+1,  3+3,  3+2+1,  2+2+1+1⇒B3(6)=76,\; 5+1,\; 4+2,\; 4+1+1,\; 3+3,\; 3+2+1,\; 2+2+1+1 \quad\Rightarrow\quad B_3(6) = 7
Step 3: Glaisher's bijection pairs the two lists. Write each part as 3j⋅m3^j \cdot m with mm not divisible by 3, then replace it with 3j3^j copies of mm. Parts already free of factors of 3 stay the same, so 5+1, 4+2, 4+1+1 and 2+2+1+1 map to themselves. The other three partitions change:
6=3⋅2↦2+2+2,3+3↦1+1+1+1+1+1,3+2+1↦2+1+1+1+16 = 3 \cdot 2 \mapsto 2+2+2, \qquad 3+3 \mapsto 1+1+1+1+1+1, \qquad 3+2+1 \mapsto 2+1+1+1+1
Answer: Both counts equal 7, so A3(6)=B3(6)=7A_3(6) = B_3(6) = 7, as Glaisher's Theorem predicts. Step 3 matches the two lists one-to-one.

Why It Matters

Glaisher's Theorem appears in undergraduate combinatorics and number theory courses as a standard example of proving an identity two ways: by generating functions and by an explicit bijection. The splitting-and-merging map in Step 3 is the model for many later partition bijections. Similar partition identities, such as the Rogers–Ramanujan identities, are studied in the same courses.

Common Mistakes

Mistake: Reading the condition as "each part appears at most d times."
Correction: The bound is at most d − 1 copies, which is fewer than d. For d = 3, a part may appear once or twice but never three times. Allowing d copies breaks the equality. With n = 6, it would wrongly admit 2+2+2 and 3+1+1+1.

Related Terms