Here's a strange fact:
k=1∏∞(1−xk)=1−x−x2+x5+x7−x12−x15+x22+x26+⋯=1+a=1∑∞(−1)axa(3a±1)/2
There's a pattern here, but it's hard to spot. Terms like xn will only appear when n=2a(3a±1), where a is an integer greater than 0. This means that if we continued this expansion we would run across terms like x35,x40,x51..., but in order to know this for certain we need to prove that this pattern exists.
To get started, we should forget about the righthand side of the equations above and just focus on the left. We have the expression (1−x)(1−x2)(1−x3)⋯ for all powers of x. Multiplying this out will give us every multiplicative combination of 1,x,x2,… possible as a result. Thinking in reverse, we can ask about how terms like xn may arise from this. Since xn must come from some multiplicative combinations of 1,x,x2,…, we know that n must come from an additive combination of 1,2,3,… (since xaxb=xa+b).
x5=x1+4=x2+3
x6=x1+5=x2+4=x1+2+3
x7=x1+6=x2+5=x3+4=x1+2+4
A breakdown of n into smaller parts added together is known as a partition. Here, we're dealing specifically with partitions into distinct parts. If we apply this reasoning to (1−x)(1−x2)(1−x3)⋯ by keeping track of the signs, we will see a neat pattern: terms of the form xa will be negative, xa+b will be positive, xa+b+c will be negative, and the pattern continues. This means that "odd" partitions will have negative coefficients while "even" partitions have positive coefficients. It follows that the coefficients of all terms on the right will have this form.
(# of even partitions of n−# of odd partitions of n)⋅xn
Which means that all of the numbers which show up in 1−x−x2+x5+x7−x12−x15+x22+x26+⋯ must have an imbalance of even and odd partitions into distinct parts; otherwise they will have a coefficient of 0. 5 and 7 have one more even partition than odd ones, while 12 and 15 have one more odd partition than even ones.
Why is it that the number of even and odd partitions balance out for most numbers except the ones equal to a(3a±1)/2? It has to do with how partitions can be found from other partitions. Consider 6, which partitions into 6, 5 + 1, 4 + 2, and 3 + 2 + 1. Starting from the first partition, 6, we can create a new partition by "shaving" one off the top of it to make 5 + 1. Likewise we can do this for the other two. To make this argument clearer, we can visualize partitions with dots on a hidden grid, known as a Ferrers diagram. Here are all the partitions of 6 represented by Ferrers diagrams.
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙
We can see that 6 has just as many odd partitions as it does even, so x6 doesn't appear in the expansion. Since there are an equal number of even and odd partitions, it makes sense to ask if there's a one-to-one mapping between them. One possible scheme comes from a "shaving" method, where the largest parts of a partition are "shaved" by 1. This works, as moving from 6 to 5 + 1 changes the partition from odd to even. Likewise, moving from 4 + 2 to 3 + 2 + 1 changes an even partition into an odd one.
∙∙∙∙∙∙⟷∙∙∙∙∙∙
∙∙∙∙∙∙⟷∙∙∙∙∙∙
Under this scheme, 5 + 1 doesn't map to 4 + 2 because the shaving operation doesn't change the number of rows. However, 6 doesn't map to 3 + 2 + 1 either since the shaving operation can only add one new row in a Ferrers diagram at a time. Larger partitions such as 5 + 4 will have both parts shaved to yield 4 + 3 + 2.
∙∙∙∙∙∙∙∙∙⟷∙∙∙∙∙∙∙∙∙
Since this scheme is supposed to be a one-to-one map between partitions, we can ask about doing this in reverse. The partition 5 + 3 + 1, for example, has no way of shaving off the top that works. 4 + 3 + 1 + 1 is disallowed since every part must be distinct, and 2 + 3 + 4 is disallowed since it doesn't change the oddness of the partition. Instead, 6 + 3 is the only partition which works under this mapping.
∙∙∙∙∙∙∙∙∙⟷∙∙∙∙∙∙∙∙∙
The key benefit to having a one-to-one mapping is that we can think of partitions as existing in pairs of even and odd partitions. If every odd partition of n can be paired with an even partition of n, then the expansion of (1−x)(1−x2)(1−x3)⋯ will not have an xn term. This means that the shave mapping doesn't work for some n.
There are some pathological partitions that don't work under this scheme.
∙∙∙∙∙⟷×
∙∙∙∙∙∙∙⟷×
∙∙∙∙∙∙∙∙∙∙∙∙⟷×
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙⟷×
If you were to count them up, you'll notice right away what the pattern is. Since these partitions do not map to anything, their terms in the expansion of (1−x)(1−x2)(1−x3)⋯ won't fully cancel out to 0. Let's generalize this pattern. These partitions are made up of squares of length a and triangles with base length a or a−1.
∙∙∙=∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙+∙∙∙∙∙∙∙∙∙
All the possible n where this can happen is then just a sum of the number of dots in each shape.
n=a2+2a(a+1)andn=a2+2(a−1)a
We can conveniently combine both cases into one equation.
n=a2+2a(a±1)
n=2a(3a±1)
So the only terms that will show up in the expansion of (1−x)(1−x2)(1−x3)⋯ will have an exponent with the form 2a(3a±1). Their sign depends on the "leftover" pathological partition, which is negative when the partition (a) is odd and positive when the partition (a) is even. Putting this all together gives us the pentagonal number theorem.
The pentagonal number theorem
k=1∏∞(1−xk)=1+a=1∑∞(−1)axa(3a±1)/2
Historically, the pentagonal number theorem was conjectured by Euler, but he failed to find a proof of it for several years. He did eventually find it, but to me his proof felt really unnatural and hard to follow. Instead, I presented a simpler proof by the mathemtician Fabian Franklin.
#NumberTheory
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Really cool! @Levi Walker
You know you can try explaining Riemann's hypothesis in great detail.
I read the wiki on Brilliant and Wikipedia but they don't satisfy me...
Log in to reply
Thank you! I've actually been thinking of doing something like that. It's only a matter of time :D
Log in to reply
No problem!
I'll be eagerly waiting...
P.S. You're welcome for reminding you about thinking of doing something like the Riemann hypothesis.