Math 2.0

Combinatorics Proof

Proof of Euler's partition theorem by Glaisher's bijection

Builds on Integer partitionStrong inductionBijective iff it has a two-sided inverseBijection principle

Proof

We build a bijection, due to Glaisher, between the two sets of partitions.

  1. A partition of nn is determined by its multiplicity function μ:ℤ>0→ℕ\mu : \Z_{>0} \to \N. Here μ(k)\mu(k) is the number of parts equal to kk. It has finite support and ∑kk μ(k)=n\sum_k k\, \mu(k) = n.
  2. Conversely, each such function with finite support and ∑kk μ(k)=n\sum_k k\, \mu(k) = n is the multiplicity function of exactly one partition of nn.
  3. Let 𝒪\mathcal{O} be the set of these μ\mu with μ(k)=0\mu(k) = 0 for every even kk. These are the partitions of nn into odd parts.
  4. Let 𝒟\mathcal{D} be the set of these μ\mu with μ(k)≤1\mu(k) \le 1 for every kk. These are the partitions of nn into distinct parts.
  5. Fact A: each positive integer dd is 2am2^a m for exactly one pair (a,m)(a, m) with a∈ℕa \in \N and mm odd.
  6. Proof of Fact A. Let aa be the largest natural number with 2a∣d2^a \mid d; it exists because 2a≤d2^a \le d. Then m=d/2am = d / 2^a is odd, otherwise 2a+1∣d2^{a+1} \mid d.
  7. If 2am=2bm′2^a m = 2^b m' with m,m′m, m' odd and a<ba < b, then m=2b−am′m = 2^{b-a} m' is even, a contradiction. So a=ba = b, and then m=m′m = m'.
  8. Fact B: each k∈ℕk \in \N is ∑a∈B2a\sum_{a \in B} 2^a for exactly one finite set B⊆ℕB \subseteq \N. We call BB the binary set of kk. We use strong induction on kk.
  9. For k=0k = 0 the only such set is B=∅B = \varnothing, because a nonempty BB gives a positive sum.
  10. Let k≥1k \ge 1. In ∑a∈B2a\sum_{a \in B} 2^a all terms with a≥1a \ge 1 are even. So 0∈B0 \in B exactly when kk is odd.
  11. Let ε=1\varepsilon = 1 if kk is odd and ε=0\varepsilon = 0 otherwise, and let k′=(k−ε)/2<kk' = (k - \varepsilon)/2 < k.
  12. Then k=∑a∈B2ak = \sum_{a \in B} 2^a holds if and only if 0∈B⇔ε=10 \in B \Leftrightarrow \varepsilon = 1 and k′=∑a∈B,a≥12a−1k' = \sum_{a \in B, a \ge 1} 2^{a-1}.
  13. By the induction hypothesis, k′k' has exactly one binary set B′B'. So B={a+1:a∈B′}B = \{a + 1 : a \in B'\}, together with 00 when ε=1\varepsilon = 1, is the only binary set of kk.
  14. Define Φ:𝒪→𝒟\Phi : \mathcal{O} \to \mathcal{D}. For μ∈𝒪\mu \in \mathcal{O} and odd mm, let BmB_m be the binary set of μ(m)\mu(m).
  15. For d=2amd = 2^a m as in Fact A, put ν(d)=1\nu(d) = 1 if a∈Bma \in B_m, and ν(d)=0\nu(d) = 0 otherwise. Let Φ(μ)=ν\Phi(\mu) = \nu.
  16. The support of ν\nu is finite, because only finitely many mm have μ(m)>0\mu(m) > 0 and each BmB_m is finite.
  17. We have ∑dd ν(d)=∑m oddm∑a∈Bm2a=∑m oddm μ(m)=n\sum_d d\, \nu(d) = \sum_{m \text{ odd}} m \sum_{a \in B_m} 2^a = \sum_{m \text{ odd}} m\, \mu(m) = n, by Fact A. So ν∈𝒟\nu \in \mathcal{D}.
  18. Define Ψ:𝒟→𝒪\Psi : \mathcal{D} \to \mathcal{O}. For ν∈𝒟\nu \in \mathcal{D} and odd mm, let μ(m)=∑a∈Am2a\mu(m) = \sum_{a \in A_m} 2^a, where Am={a∈ℕ:ν(2am)=1}A_m = \{a \in \N : \nu(2^a m) = 1\}. Let μ(k)=0\mu(k) = 0 for even kk.
  19. Each AmA_m is finite, and only finitely many AmA_m are nonempty, because ν\nu has finite support. So μ\mu has finite support.
  20. By Fact A, ∑kk μ(k)=∑m odd∑a∈Am2am=∑dd ν(d)=n\sum_k k\, \mu(k) = \sum_{m \text{ odd}} \sum_{a \in A_m} 2^a m = \sum_d d\, \nu(d) = n. So Ψ(ν)=μ∈𝒪\Psi(\nu) = \mu \in \mathcal{O}.
  21. Let μ∈𝒪\mu \in \mathcal{O} and ν=Φ(μ)\nu = \Phi(\mu). Then Am=BmA_m = B_m for each odd mm, so Ψ(ν)(m)=∑a∈Bm2a=μ(m)\Psi(\nu)(m) = \sum_{a \in B_m} 2^a = \mu(m). Thus Ψ∘Φ\Psi \circ \Phi is the identity.
  22. Let ν∈𝒟\nu \in \mathcal{D} and μ=Ψ(ν)\mu = \Psi(\nu). By Fact B, the binary set of μ(m)\mu(m) is AmA_m. So Φ(μ)(2am)=1\Phi(\mu)(2^a m) = 1 exactly when a∈Ama \in A_m, that is, when ν(2am)=1\nu(2^a m) = 1.
  23. By Fact A every d≥1d \ge 1 has the form 2am2^a m, so Φ(μ)=ν\Phi(\mu) = \nu. Thus Φ∘Ψ\Phi \circ \Psi is the identity.
  24. A map with a two-sided inverse is a bijection. So Φ\Phi is a bijection from 𝒪\mathcal{O} to 𝒟\mathcal{D}.
  25. Both sets are finite, since there are finitely many partitions of nn. By the bijection principle, ∣𝒪∣=∣𝒟∣\abs{\mathcal{O}} = \abs{\mathcal{D}}.

Idea

Group equal odd parts: mm appears μ(m)\mu(m) times. Write μ(m)\mu(m) in binary and merge the copies of mm into parts 2am2^a m, one for each binary digit 11. The new parts are distinct, because each integer is a power of two times an odd number in only one way. Splitting each part 2am2^a m back into 2a2^a copies of mm undoes the map.

Reading path

To understand this page from the ground up, read these 43 pages in order. The foundations come first. The path takes the proofs Proof that a composition of injections is injective, Proof that a function is bijective iff it has a two-sided inverse, Proof of strong induction from ordinary induction, Proof that a composition of surjections is surjective, Proof of the bijection principle.

  1. Cardinality of a finite set definition
  2. Definition by recursion concept
  3. Element definition
  4. Integer partition definition
  5. Mathematical induction concept
  6. Natural numbers object
  7. Peano axioms concept
  8. Proposition concept
  9. Set definition
  10. Successor function definition
  11. Implication definition
  12. Predicate definition
  13. Ordered pair definition
  14. Addition of natural numbers definition
  15. Existential quantifier definition
  16. Universal quantifier definition
  17. The successor function is injective statement
  18. Zero is not a successor statement
  19. Cartesian product definition
  20. Subset definition
  21. Uniqueness quantifier definition
  22. Order on the natural numbers definition
  23. Binary relation definition
  24. Proof of strong induction from ordinary induction proof
  25. Function definition
  26. Strong induction statement
  27. Codomain definition
  28. Function composition definition
  29. Identity function definition
  30. Injective function definition
  31. Surjective function definition
  32. Left inverse definition
  33. Right inverse definition
  34. Proof that a composition of injections is injective proof
  35. Proof that a composition of surjections is surjective proof
  36. Bijective function definition
  37. Composition of injections is injective statement
  38. Composition of surjections is surjective statement
  39. Proof that a function is bijective iff it has a two-sided inverse proof
  40. Bijective iff it has a two-sided inverse statement
  41. Proof of the bijection principle proof
  42. Bijection principle statement
  43. Proof of Euler's partition theorem by Glaisher's bijection proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://yufeizhao.com/olympiad/bijections.pdf, Problem 3
About this page
TagEZF8KV8YM6
URIm2://EZF8KV8YM6
Kindproof
WritingW0 stub
MSC05A17
ProvesEuler's partition theorem
UsesInteger partition, Strong induction, Bijective iff it has a two-sided inverse, Bijection principle
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.