Distinct Parts Equals Odd Parts

Summary: Euler’s theorem (§326): the number of partitions of into distinct (unequal) parts equals the number of partitions of into odd parts (with repetition allowed). The generating-function proof is one line: .

Sources: chapter16

Last updated: 2026-05-11


Statement

For every positive integer ,

where is the number of partitions of into distinct positive parts and is the number of partitions of into odd parts (with repetition allowed). (Source: chapter16, §326.)

Generating-function proof (§325–§326)

Let

Pairing :

Dividing,

The numerator includes one factor for each ; the denominator only for even . Cancellation leaves only the odd factors in the numerator:

The left side enumerates partitions into distinct parts.

The right side expands as

so the coefficient of is the number of ways to write as with — i.e. as a sum of odd parts with repetition allowed.

Equating coefficients of proves the theorem.

Worked example for (§325)

Distinct partitions (eight, from §325):

Odd partitions of (eight):

Both counts are .

Application to computing via the pentagonal theorem (§327)

Combining with Euler’s pentagonal theorem one can compute from :

where the second factor is the pentagonal-number expansion of evaluated at , so the surviving exponents are .

Multiplying the two series term by term gives §327’s listing:

Bijective proof (anachronistic — Glaisher 1883)

Euler proved the theorem only as an algebraic identity. The classical bijection (Glaisher) makes the equality combinatorially explicit:

  • Odd → distinct: group equal parts of an odd partition by powers of . If an odd part appears times, write in binary and replace the copies of by the distinct parts . (These are distinct because of the uniqueness of binary representation — see binary-representation-theorem.)

  • Distinct → odd: write each distinct part as and split into copies of the odd factor .

The two maps are inverse, giving an explicit bijection.

Modern reading

This is the simplest case of a partition identity: a statement that the number of partitions of from one class equals the number from another. The pattern has spawned a vast subject (Rogers–Ramanujan identities, Schur identities, Andrews’s theory), all anchored on Euler’s distinct-vs-odd prototype.