Inmathematics,Euler'spentagonal number theorem relates the product and series representations of theEuler function. It states that
In other words,
The exponents 1, 2, 5, 7, 12, ... on the right hand side are given by the formulagk =k(3k − 1)/2 fork = 1, −1, 2, −2, 3, ... and are called (generalized)pentagonal numbers (sequenceA001318 in theOEIS). (The constant term 1 corresponds to.)This holds as an identity of convergentpower series for, and also as an identity offormal power series.
A striking feature of this formula is the amount of cancellation in the expansion of the product.
The identity implies arecurrence for calculating, the number ofpartitions ofn:
or more formally,
where the summation is over all nonzero integersk (positive and negative) and is thekth generalized pentagonal number. Since for all, the apparently infinite series on the right has only finitely many non-zero terms, enabling an efficient calculation ofp(n).
The theorem can be interpretedcombinatorially in terms ofpartitions. In particular, the left hand side is agenerating function for the number of partitions ofn into an even number of distinct parts minus the number of partitions ofn into an odd number of distinct parts. Each partition ofn into an even number of distinct parts contributes +1 to the coefficient ofxn; each partition into an odd number of distinct parts contributes −1. (The article onunrestricted partition functions discusses this type of generating function.)
For example, the coefficient ofx5 is +1 because there are two ways to split 5 into an even number of distinct parts (4 + 1 and 3 + 2), but only one way to do so for an odd number of distinct parts (the one-part partition 5). However, the coefficient ofx12 is −1 because there are seven ways to partition 12 into an even number of distinct parts, but there are eight ways to partition 12 into an odd number of distinct parts, and 7 − 8 = −1.
This interpretation leads to a proof of the identity by canceling pairs of matched terms (involution method).[1] Consider theFerrers diagram of any partition ofn into distinct parts. For example, the diagram below showsn = 20 and the partition 20 = 7 + 6 + 4 + 3.
Letm be the number of elements in the smallest row of the diagram (m = 3 in the above example). Lets be the number of elements in the rightmost 45 degree line of the diagram (s = 2 dots in red above, since 7 − 1 = 6, but 6 − 1 > 4). Ifm > s, take the rightmost 45-degree line and move it to form a new row, as in the matching diagram below.
If m ≤ s (as in our newly formed diagram wherem = 2,s = 5) we may reverse the process by moving the bottom row to form a new 45 degree line (adding 1 element to each of the firstm rows), taking us back to the first diagram.
A bit of thought shows that this process always changes the parity of the number of rows, and applying the process twice brings us back to the original diagram. This enables us to pair off Ferrers diagrams contributing 1 and −1 to thexn term of the series, resulting in a net coefficient of 0 forxn. This holds for every termexcept when the process cannot be performed on every Ferrers diagram withn dots. There are two such cases:
1)m =s and the rightmost diagonal and bottom row meet. For example,
Attempting to perform the operation would lead us to:
which fails to change the parity of the number of rows, and is not reversible in the sense that performing the operation again doesnot take us back to the original diagram. If there arem elements in the last row of the original diagram, then
where the new indexk is taken to equalm. Note that the sign associated with this partition is (−1)s, which by construction equals (−1)m and (−1)k.
2)m =s + 1 and the rightmost diagonal and bottom row meet. For example,
Our operation requires us to move the right diagonal to the bottom row, but that would lead to two rows of three elements, forbidden since we're counting partitions into distinct parts. This is the previous case but with one fewer row, so
where we takek = 1−m (a negative integer). Here the associated sign is (−1)s withs = m − 1 = −k, therefore the sign is again (−1)k.
In summary, it has been shown that partitions into an even number of distinct parts and an odd number of distinct parts exactly cancel each other, producing null terms 0xn, except ifn is a generalized pentagonal number, in which case there is exactly one Ferrers diagram left over, producing a term (−1)kxn. But this is precisely what the right side of the identity says should happen, so we are finished.
We can rephrase the above proof, usinginteger partitions, which we denote as:, where.The number of partitions ofn is the partition functionp(n) having generating function:
Note that is the reciprocal of the product on the left hand side of our identity:
Let us denote the expansion of our product byso that
Multiplying out the left hand side and equating coefficients on the two sides, we obtaina0p(0) = 1 and for all. This gives a recurrence relation definingp(n) in terms ofan, and vice versa a recurrence foran in terms ofp(n). Thus, our desired result:
for is equivalent to the identity where andi ranges over all integers such that (this range includes both positive and negative i, so as to use both kinds of generalized pentagonal numbers). This in turn means:
In terms of sets of partitions, this is equivalent to saying that the following sets are of equal cardinality:
where denotes the set of all partitions of.All that remains is to give a bijection from one set to the other, which is accomplished by the functionφ fromX toY which maps the partition to the partition defined by:
This is an involution (a self-inverse mapping), and thus in particular a bijection, which proves our claim and the identity.
The pentagonal number theorem occurs as a special case of theJacobi triple product.
Q-series generalize Euler's function, which is closely related to theDedekind eta function, and occurs in the study ofmodular forms. Themodulus of theEuler function (see there for picture) shows thefractalmodular group symmetry and occurs in the study of the interior of theMandelbrot set.