A partition of the positive integer n is obtained by writing
where n1, n2,…, nk are positive integers, and the order in which n1, n2,…, nk appear is unimportant. The number of partitions of n is denoted by p(n). For example, the partitions of 5 are
and hence p(5) = 7. The values of p(n) for small values of n are as follows:
The asymptotic approximation (see asymptotically equal)
for large n, was famously obtained by Hardy and Ramanujan in 1918.
Compare composition (of a number).