Euler's Generating Function for the Partition Numbers
Euler's Generating Function for the Partition Numbers
This Demonstration shows the partition numbers up to as the coefficients of in the polynomial on the right.
p
n
n
n
x
The partition numbers are 1, 1, 2, 3, 5, 7, 11, 15, 22, 30, 42, 56, 77, 101, 135, 176, 231, 297, 385, 490, 627, …. They count the number of ways of splitting an integer into a sum of positive integers, without regard to order. For instance, , the number of ways to partition 4, is 5 because there are 5 possible sums that add to 4: 4, 1+3, 2+2, 1+1+2, 1+1+1+1. By convention, =1.
p
n
n
p
4
p
0
The left-hand side of the identity shows the product of geometric series =1+r+++… with common ratios , , ,…, , each truncated to terms. The right-hand side multiplies them out and collects terms.
1
1-r
2
r
3
r
r=x
2
x
3
x
n
x
n
As an example, let ; the term on the right is the sum of the five products , ×1××1, , ××1×1, ×1×1×1, where the factors in each product are in the order of the series they come from. These products correspond to the partitions 4, 1+3, 2+2, 1+1+2, 1+1+1+1.
n=4
5
4
x
1×1×1×
4
x
1
x
3
x
1××1×1
4
x
2
x
2
x
4
x
In general, an uncollected term in the expansion of the left side is of the form . The factor comes from the term of the truncated series and contributes ( times) in the corresponding partition. Collecting terms amounts to counting the number of ways can be partitioned.
m
1
x
2
m
2
x
3
m
3
x
K
m
K
…x
k
m
k
x
th
m
k
th
k
1+++…+
k
x
2k
x
nk
x
k+k+…+k
m
k
n=+2+3+…+K
m
1
m
2
m
3
m
K
The generating function for is thus =.
p
n
∞
∏
k=1
1
1-
k
x
∞
∑
n=1
p
n
n
x