with one on each row, such that no rook attacks another rook.
- Boundary condition: r(0,0)=0 0 free rows on a Δ(0) board counts as one configuration.
- Recurrence: r(n,k)≡r(n−1,k−1)+kr(n−1,k)
- r(n−1,k−1) term: We don't place a rook on the bottom row. This means we have used up a free row, and need to place rooks with (k−1) free rows on an (n−1) board:
+--+
| |
+--+--+
| | | r(n-1, k-1)
+--+--+--+
+--+--+--+
| | | | BLANK
+--+--+--+--+
- kr(n−1,k): We fill out Δ(n−1) with rooks such that we have k free rows. Then, we add the final row. Note that since we have rooks, k free rows is equivalent to k free columns! Now, we can't leave the final row free, since we have already exhausted our k free rows in the recursion. We have kfree columns for the rook in the final row to inhabit. So we get kr(n−1,k).
§ Bijection between rooks and Stirling numbers of the second kind
Finally, note that S(n,k)=r(n−k,k), as S(n,k)=S(n−1,k−1)+kS(n−1,k)
which is equivalent to asking:
S(n,k)=S(n−1,k−1)+kS(n−1,k)r(n−k,k)=?r(n−1−(k−1),k−1)+kr(n−1−k,k)r(n−k,k)=?r(n−k,k−1)+kr(n−k−1,k)set m=n−k: r(m,k)=r(m,k−1)+kr(m,k)
§ Directly reading off the bijection between set partitions and rook placements
I found this very cool. The idea is to treat each rook as a "bouncer" that bounces light
rays. All elements hit by a light ray belong to an equivalence class.
§ Wrooks and signless stirling numbers
Similar to the rooks, we define a wrook (a weak rook) as one that only attacks
on its row. Here w(n,k) denotes a placement of wrooks on Δ(n) with k
free rows.
w(n,k)≡ w(n−1,k−1) Leave bottom row free: uses up a free row+ nw(n−1,k) Place a wrook on bottom row: n possible positions
The corresponding "counting" object is called as the signless stirling numbers:
TODO