Ramanujan's congruences and Dyson's crank
A partition of $n$ is a way of writing it as a sum of positive integers, ignoring order: $4 = 3 + 1 = 2 + 2 = 2 + 1 + 1 = 1 + 1 + 1 + 1$, so $p(4) = 5$. The numbers grow quickly, $p(100) = 190569292$, and Hardy and Ramanujan found their size in 1918: $p(n) \sim \frac{1}{4n\sqrt3}\, e^{\pi\sqrt{2n/3}}$. While checking a table of values computed by MacMahon, Ramanujan noticed something stranger.
In 1919 he proved and conjectured three congruences: $$p(5n + 4) \equiv 0 \pmod 5, \qquad p(7n + 5) \equiv 0 \pmod 7, \qquad p(11n + 6) \equiv 0 \pmod{11}.$$ Ahlgren and Boylan showed in 2003 that these are the only congruences of the simple form $p(\ell n + \beta) \equiv 0 \pmod \ell$ with $\ell$ prime. But Ono proved in 2000 that for every prime $m \ge 5$ there are infinitely many congruences $p(An + B) \equiv 0 \pmod m$ with larger moduli $A$; for example $p(17303n + 237) \equiv 0 \pmod{13}$.
A combinatorial reason: rank and crank
Ramanujan's proofs used the theory of modular forms. As a Cambridge undergraduate, Freeman Dyson asked for something more concrete in 1944: a statistic that splits the partitions of $5n + 4$ into five groups of equal size. He proposed the rank, the largest part minus the number of parts. For $n = 4$:
| partition | largest part | number of parts | rank | rank mod 5 |
|---|---|---|---|---|
| 4 | 4 | 1 | 3 | 3 |
| 3 + 1 | 3 | 2 | 1 | 1 |
| 2 + 2 | 2 | 2 | 0 | 0 |
| 2 + 1 + 1 | 2 | 3 | −1 | 4 |
| 1 + 1 + 1 + 1 | 1 | 4 | −3 | 2 |
Each residue appears once. Dyson conjectured that the rank works for every $5n + 4$ (modulo $5$) and every $7n + 5$ (modulo $7$), which Atkin and Swinnerton-Dyer proved in 1954. The rank fails for $11$, so Dyson postulated a hypothetical "crank" that would explain all three. Andrews and Garvan found it in 1988: if a partition has no $1$s, its crank is its largest part; otherwise it is the number of parts larger than the number of $1$s, minus the number of $1$s. The crank splits the partitions of $5n + 4$, $7n + 5$ and $11n + 6$ into $5$, $7$ and $11$ equal classes.
Full proof: p(5n + 4) is divisible by 5
We use two classical identities of formal power series: Euler's pentagonal number theorem and Jacobi's identity, $$\prod_{m \ge 1}(1 - x^m) = \sum_{j \in \mathbb{Z}} (-1)^j x^{j(3j+1)/2}, \qquad \prod_{m \ge 1}(1 - x^m)^3 = \sum_{k \ge 0} (-1)^k (2k+1)\, x^{k(k+1)/2}.$$
Proof. Since $\sum_n p(n)x^n = \prod_m (1 - x^m)^{-1}$, we have $$\sum_{n \ge 0} p(n)\, x^{n+1} = \frac{x\prod_m (1 - x^m)^4}{\prod_m (1 - x^m)^5}.$$ Modulo $5$, $(1 - x^m)^5 \equiv 1 - x^{5m}$, so the denominator is congruent to a power series in $x^5$ with constant term $1$, whose inverse is again a series in $x^5$. Hence the coefficient of $x^{5n+5}$ on the left, which is $p(5n+4)$, is congruent mod $5$ to a combination of coefficients of $x^{5m}$ in $x\prod_m (1 - x^m)^4$. It suffices to show those are all divisible by $5$.
By the two identities, $x\prod(1 - x^m)^4 = \sum_{j, k} (-1)^{j+k}(2k+1)\, x^{E}$ with $E = 1 + \frac{j(3j+1)}{2} + \frac{k(k+1)}{2}$. Compute $$8E = 7 + 12j^2 + 4j + (2k+1)^2 \equiv 2(j+1)^2 + (2k+1)^2 \pmod 5.$$ The squares mod $5$ are $0, 1, 4$, so $2(j+1)^2 \in \{0, 2, 3\}$, and a sum $2a^2 + b^2$ is $\equiv 0 \pmod 5$ only if both $a$ and $b$ are divisible by $5$. So whenever $5 \mid E$, we have $5 \mid 2k + 1$, and the term's coefficient $(2k+1)$ is divisible by $5$. $\square$
Further reading
- G. E. Andrews, The Theory of Partitions, Cambridge, 1998.
- G. E. Andrews and F. G. Garvan, Dyson's crank of a partition, Bulletin of the AMS 18 (1988).
- K. Ono, Distribution of the partition function modulo m, Annals of Mathematics 151 (2000).
- F. J. Dyson, Some guesses in the theory of partitions, Eureka 8 (1944).