The mathematics · 1917–1919

The hidden order of partitions

How many ways can a number be made? Behind a simple counting question lies an astonishing structure.

A guided discovery · Partitions & congruences

One number, many possibilities

A partition writes a positive integer as a sum of positive integers, ignoring order. For example, 3 + 1 and 1 + 3 are the same partition of 4. There are five partitions of 4: 4; 3 + 1; 2 + 2; 2 + 1 + 1; and 1 + 1 + 1 + 1. The notation p(n) counts them, with p(0) = 1 by convention.

The counting problem grows rapidly. Listing every possibility soon becomes impractical, which makes both exact patterns and reliable estimates valuable.

Try the counting problem

Build the partitions

p(5) = 7

Every distinct sum is shown below. Changing the order does not create a new partition.

Ramanujan’s remarkable congruences

Ramanujan discovered exact divisibility patterns in this rapidly growing sequence. For every nonnegative integer n:

p(5n + 4) ≡ 0 (mod 5)
p(7n + 5) ≡ 0 (mod 7)
p(11n + 6) ≡ 0 (mod 11)“≡ 0 (mod 5)” means “is exactly divisible by 5”.

For instance, p(4) = 5, p(9) = 30 and p(14) = 135. They all divide by 5 without remainder. A handful of examples suggests the pattern; a proof establishes it for every n.

Test the pattern modulo 5

p(9) = 30

30 ÷ 5 = 6 exactly.

Computed exactly in your browser. An illustration of the theorem, not its proof.

Read the sources: Ramanujan · Some properties of p(n) (1919) ↗

Hardy, Ramanujan, and the circle method

Hardy and Ramanujan found a powerful asymptotic description of p(n). Its familiar leading expression is:

p(n)∼eπ2n34n3The ratio of the two sides tends to 1 as n grows.

The symbol ∼ does not mean exact equality. It says the relative error tends to zero. Their analysis helped create the circle method: recover coefficients of a generating function by studying its behaviour around a circle in the complex plane. Hans Rademacher later developed an exact convergent series for p(n).

Read the sources: Hardy and Ramanujan · Asymptotic formulæ in combinatory analysis (1918) ↗ · Ken Ono · Honoring a Gift from Kumbakonam (AMS, 2006) ↗

Explore the archive

Search page titles and topics. Press / to open. Esc to close.