Exercise · Volume 1 · 1.2.9-20
Exercise 1.2.9-20
proved in Lean solution written
| Rating | M21 |
|---|---|
| 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 coefficients with .
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
Express with the binomial coefficients and the Stirling numbers of the second kind.
Hint 2
Sum over with .
Solution
Show the solution
Count the maps from an -set to an -set by the number of values in the image. A map with image of size is a partition of the -set into blocks, with an injective assignment of the blocks to elements of the -set. There are partitions and injections, so
By (16) and the shift rule, . Multiply by and sum over . Then , so .
The are unique. The functions for vanish to different orders at , so they are linearly independent.
Check
For : , , . So . Python confirms the identity for .
Remarks
The numerator for is the Eulerian polynomial. The are the Fubini numbers when summed over .
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.Ex20.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_9.Ex20.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.