Stirling Numbers of the Second Kind

Stirling numbers count partitions of a labeled set into nonempty blocks. Adding a distinguished label gives their recurrence.

Source
Anbloq
Language
English
Created
Updated
Chapters
1
Reading time
1 min

For \(S(n,k)\), isolate the label \(n\). It either occupies its own block, leaving \(S(n-1,k-1)\) partitions, or joins one of \(k\) blocks of a partition of \(n-1\) labels. This yields

\[S(n,k)=S(n-1,k-1)+k S(n-1,k).\]

Counting functions by the size of their image

Each function from \(n\) labels to \(m\) targets has fibers partitioning the source into \(k\) blocks. Assign distinct targets to those blocks in \((m)_k\) ways. Thus \(m^n=\sum_k S(n,k)(m)_k\), expressing powers in the falling-factorial basis. Surjections can also be counted by inclusion–exclusion.[1]

References

  1. Alexander Postnikov, 18.212 Algebraic Combinatorics ↩