Mathwords logoMathwords

Euler's Partition Theorem — Definition, Formula & Example

Euler's Partition Theorem is the fact that you can write a positive integer as a sum of different whole numbers in exactly as many ways as you can write it as a sum of odd whole numbers. Order does not matter in either count.

Let Q(n)Q(n) be the number of partitions of a positive integer nn into distinct parts. Let O(n)O(n) be the number of partitions of nn into parts that are all odd, with repetition allowed. Then Q(n)=O(n)Q(n) = O(n) for every n≥1n \ge 1. Equivalently, the generating functions of the two sequences are equal as formal power series. The identity follows by rewriting each factor as 1+xk=1−x2k1−xk1 + x^k = \frac{1 - x^{2k}}{1 - x^k} and canceling the even-exponent factors.

Key Formula

∏k=1∞(1+xk)  =  ∏k=1∞11−x2k−1\prod_{k=1}^{\infty}\left(1 + x^{k}\right) \;=\; \prod_{k=1}^{\infty}\frac{1}{1 - x^{2k-1}}
Where:
  • xx = A formal variable. The coefficient of xnx^n on each side counts partitions of nn.
  • kk = Index over positive integers. On the left, each part size kk is used at most once. On the right, only the odd part sizes 2k−12k-1 appear, each any number of times.

Worked Example

Problem: List the partitions of 6 into distinct parts and the partitions of 6 into odd parts. Then match them one-to-one using Glaisher's map. That map merges each group of equal odd parts using the binary expansion of how many copies there are.
Step 1: Partitions of 6 with no repeated part:
6,5+1,4+2,3+2+1⇒Q(6)=46, \quad 5+1, \quad 4+2, \quad 3+2+1 \qquad\Rightarrow\qquad Q(6) = 4
Step 2: Partitions of 6 using only odd parts:
5+1,3+3,3+1+1+1,1+1+1+1+1+1⇒O(6)=45+1, \quad 3+3, \quad 3+1+1+1, \quad 1+1+1+1+1+1 \qquad\Rightarrow\qquad O(6) = 4
Step 3: Apply Glaisher's map. Suppose an odd part mm appears cc times. Write cc as a sum of distinct powers of 2, and replace the copies of mm with mm times each of those powers. For example, 3+33+3 has c=2c = 2, so it becomes 3⋅2=63 \cdot 2 = 6. Six 1s have c=6=4+2c = 6 = 4 + 2, so they become 4+24 + 2.
5+1↦5+1,3+3↦6,3+1+1+1↦3+2+1,16↦4+25+1 \mapsto 5+1, \quad 3+3 \mapsto 6, \quad 3+1+1+1 \mapsto 3+2+1, \quad 1^{6} \mapsto 4+2
Answer: Both counts equal 4, as the theorem predicts. Glaisher's map is a bijection, which means a one-to-one correspondence, from odd-part partitions to distinct-part partitions. It may send a partition to itself: here 5+15+1 stays 5+15+1.

Why It Matters

This theorem is usually the first identity proved in the partitions unit of an undergraduate combinatorics or number theory course. It shows two standard proof styles on one statement: a generating-function argument and an explicit bijection. The same pattern leads to deeper results such as the Rogers–Ramanujan identities.

Common Mistakes

Mistake: Counting 5+15+1 and 1+51+5 as two different partitions, or listing 3+33+3 as a distinct-part partition.
Correction: A partition ignores order, so 5+15+1 and 1+51+5 are the same partition. "Distinct parts" means no part repeats, so 3+33+3 is excluded from Q(6)Q(6). It is still allowed in O(6)O(6), because 3 is odd.

Related Terms