Classical combinatorial numbers · Definition

Bell number

enumerative combinatoricsclassical combinatorial numbers

Before you start you need to know

Bell numbers count groupings without order of distinguishable elements. They are directly related to Stirling numbers of the second kind.

Definition

The Bell number \(B_n\) is the number of partitions of a set with \(n\) elements, that is, of ways to split it into nonempty disjoint subsets.

\[B_n=\sum_{k=0}^{n-1}\binom{n-1}{k}B_k\]

By definition, \(B_n=\sum_{k=0}^{n}S(n,k)\), where \(S(n,k)\) is the Stirling number of the second kind. Thus \(B_0=1\), \(B_1=1\), \(B_2=2\), \(B_3=5\) and \(B_4=15\). The sequence satisfies Bell's recurrence, which allows computing it without listing the Stirling numbers one by one.

For \(n=3\), the set \(\{a,b,c\}\) has five partitions: one with a single block \(\{a,b,c\}\), three with a block of two and a block of one, and one with three singleton blocks. Hence \(B_3=1+3+1=5\), which matches \(S(3,1)+S(3,2)+S(3,3)\).

A typical mistake is confusing \(B_n\) with a single Stirling number \(S(n,k)\) for a fixed \(k\), or counting ordered arrangements of the blocks. The blocks of a partition have no order, so they should not be multiplied by factorials.

Think about it

Why does reordering the blocks of a partition not produce a new partition?

Because a partition is a set of subsets and a set has no order, so reordering its blocks gives the same partition.

Exercises 10

References

  • Richard P. Stanley, Enumerative Combinatorics, Volume 1, 2nd edition, Cambridge University Press, 2012.
  • Herbert S. Wilf, generatingfunctionology, 3rd edition, A K Peters, 2006.