Exercise · Volume 1 · 1.2.9-9
Exercise 1.2.9-9
proved in Lean solution written
| Rating | M11 |
|---|---|
| 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
Write in terms of .
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
Use the formula (38) with .
Hint 2
List the five partitions of and compute one term for each.
Solution
Show the solution
By Eq. (38), is the sum over the solutions of of . The five partitions of give
| partition | term | |
|---|---|---|
So
Check
Take . Then , the number of multisets of size from two elements, and for all . The terms are , , , and . Their sum is . A symbolic check with four variables in Python gives zero difference.
Remarks
The coefficients add to when all , matching for one variable . The inverse formulas are in Exercises 1.2.9-10 and 1.2.9-11.
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.Ex9.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_9.Ex9.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.