Exercise · Volume 1 · 1.2.9-18
Exercise 1.2.9-18
proved in Lean solution written
| Rating | M25 |
|---|---|
| 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 simple formulas for the sum of over and over .
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
The first sum is the elementary symmetric function of and the second is . Use the series of Exercises 1.2.9-10 and (36).
Hint 2
Compare with the product formula for the Stirling numbers, or find the recurrence in .
Solution
Show the solution
(a) The sum is , the coefficient of in (with the product written out, each term chooses of the factors to give and the others to give ). The numbers satisfy , which follows by induction from . So the coefficient of in is the sum we want:
(b) The sum is , the coefficient of in by (36). Let . Split the multisets according to the number of copies of : for , with and for . The numbers satisfy the recurrence with , which reads . This is the same recurrence with the same boundary values, so
Equivalently, , which is Eq. (28) with the index shifted by .
Check
For , : (a) , and (b) . For , : (a) and (b) , both computed by Python.
Remarks
For the sum (a) is . The pair of sums is the case of Exercises 1.2.9-9 and 1.2.9-10.
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.Ex18.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_9.Ex18.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.