Euler’s Pentagonal Number Theorem

Summary: The infinite product has nearly all coefficients zero. The surviving exponents are the generalized pentagonal numbers , and the corresponding coefficient is . Compactly, . The identity gives an -term recurrence for the partition function .

Sources: chapter16

Last updated: 2026-05-11


Statement (§323)

The exponents form the sequence — the generalized pentagonal numbers for , i.e. the numbers for (source: chapter16, §323).

The sign of is : positive when is even, negative when is odd. Compactly,

Euler’s discovery (§323)

Euler arrived at the identity empirically: he expanded the product and noticed that the surviving exponents fit the pattern . His statement (§323):

“the only exponents which appear are of the form and the sign of the corresponding term is negative when is odd, and the sign is positive when is even.”

He gives no proof here. The first proof would come twenty years later in his 1750 paper Découverte d’une loi tout extraordinaire des nombres par rapport à la somme de leurs diviseurs and in a 1751 letter to Goldbach. The classical proof uses telescoping arguments on partial products; modern proofs (Sylvester, Franklin) give an explicit bijection on partitions.

The induced recurrence for (§324)

The product is the reciprocal of the partition generating function:

So multiplying both sides of and matching the coefficient of for :

or equivalently

The number of non-zero terms is — only those with . Worked examples:

  • . The fifteen partitions of are listed in §324: .
  • .
  • .

This is the fastest classical recurrence for the partition function, and the one Euler implicitly uses to extend the table beyond what column-by-column computation provides.

The scale of the relation

Viewed as a recurrent series, has scale of the relation

with non-zero entries at positions . Although the scale is infinite, only entries are consulted to compute any given term — a unique feature among classical recurrences.

Why “pentagonal”

The classical pentagonal numbers for are — they count dots in nested pentagons, analogous to triangular numbers counting dots in nested triangles. The “generalized pentagonal numbers” extend the formula to , giving the intermediate values .

Connection to theta functions (anachronistic)

The identity is the first nontrivial theta function identity. The right-hand side is essentially the Dedekind eta function : setting ,

The pentagonal-number vanishing pattern is the first hint of ‘s modular structure, which was eventually elucidated by Jacobi a century later. Euler had no such language; he reports a beautiful empirical pattern.

Use in the chapter

§325–§327 use the pentagonal expansion of together with — which is just evaluated at — to derive the series for (partitions into distinct parts) from . See distinct-parts-equals-odd-parts.