Exercise · Volume 1 · 1.2.6-64
Exercise 1.2.6-64
stated in Lean solution written
| Rating | M20 |
|---|---|
| Markers | M (mathematical) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.6 of Volume 1. Companion chapter: Binomial coefficients |
The task
Show that the number of partitions of an -set into nonempty blocks is the Stirling number of the second kind.
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
Let be the number of such partitions. Find a recurrence by looking at the last element.
Hint 2
Compare with the recurrence of Exercise 1.2.6-35.
Solution
Show the solution
Let be the number of partitions of into nonempty blocks. For the only partition is the empty one, so . For no partition has blocks, so .
Let and take a partition of into blocks. Remove the element from its block. There are two cases. If was a block alone, what is left is a partition of into blocks, and each such partition arises once. Otherwise the block of had other elements, and what is left is a partition of into blocks. A partition into blocks arises in ways, one for each block that receives . Hence By Exercise 1.2.6-35 the numbers of eq. 1.2.6(45) satisfy the same recurrence and the same start values , for . By induction on , .
Check
For , : the partitions have block sizes (four of them) or (three of them), so , which is in row . For : , , .
Remarks
The row sum is the number of partitions of an -set (the Bell numbers ). The same recurrence with in place of counts permutations by cycles, for the first kind.
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
stated The statement is in Lean and it builds. The proof is not in Lean yet.
- Problem:
TAOCP.S1_2_6.Ex64.statementaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.