Exercise · Volume 1 · 1.2.9-8
Exercise 1.2.9-8
proved in Lean solution written
| Rating | M23 |
|---|---|
| Markers | M (mathematical) |
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.9 of Volume 1. Companion chapter: Generating functions |
The task
Find the generating function of the partition numbers .
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
A partition of is a choice of how many parts equal , how many equal , and so on.
Hint 2
Each part size gives a series in which the exponent of is a multiple of .
Solution
Show the solution
A partition of is a list of multiplicities with , where is the number of parts equal to . For a fixed the series lists the contribution of parts of size . In the product , the coefficient of is the number of lists with , because each choice of one term from each factor gives one list. Only matter for , so the coefficient is a finite computation, and the product converges as a formal series. So
Check
The product of the factors for gives . For the partitions are , , , , , which are . Python gives the same table up to .
Remarks
Euler's pentagonal number theorem says , which gives a fast recurrence for .
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.
- Problem:
TAOCP.S1_2_9.Ex8.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_9.Ex8.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.