Bell number 2026-10-14
The Bell number counts all set partitions of an -element finite set, with no restriction on the number of blocks of a set partition. Summing the Stirling numbers of the second kind gives . The first five values, for , are . In particular, . [ref]
Dobiński's formula 2026-10-25
For with Poisson distribution of mean one, every factorial moment satisfies . The polynomial identity
expresses powers in terms of falling factorials, where are Stirling numbers of the second kind. Substituting and using linearity of expectation proves
On the other hand, the probability mass function gives . This proves Dobiński's formula and explains why a count of set partitions is a moment of a Poisson distribution. For example, . At , take also for , obtaining . For each fixed , the ratio test proves convergence of the displayed infinite sum.
Group the elements of a colouring by equality of colour. This creates a unique partition of a set into nonempty unlabelled blocks, each of one colour, with distinct blocks assigned distinct colours.
For a partition of a set with blocks, assigning distinct colours to the blocks gives the falling factorial possibilities. To see that no extra factor is needed, order the blocks canonically by their smallest elements, then assign colours in that order. There are possible set partitions with blocks; these numbers are the Stirling numbers of the second kind.
Every colouring is counted exactly once in exactly one value of , so
For , no colouring of the blocks is possible and the displayed falling factorial is zero, because one factor is .
Fix one distinguished element of the -element set. Every partition of a set into blocks belongs to exactly one of two cases. If is a block, removing it leaves an -block partition of a set of the other elements, giving possibilities. Otherwise remove from its block; that block remains nonempty, so the result has blocks. Conversely choose any of the such partitions and insert in any one of its blocks. This gives possibilities.
These cases are disjoint and exhaustive, proving the Stirling numbers of the second kind recurrence
Use , for , and for ; these conventions include the boundary cases and .
Choose the image of a function as a -element subset of , then choose a surjection onto that selected image as in (iii). Therefore
The answer is zero when . If , it is one for and zero for , as the Stirling numbers of the second kind conventions require.
For nonnegative integers , the Stirling number of the second kind
counts the set partitions of an -element finite set into exactly unlabelled blocks of a set partition. Set , for , and for . Also for . Grassl and Levin develop these counts through explicit set partitions and a recurrence relation. [ref]
Insert one distinguished element. For and , the Stirling numbers of the second kind obey
Proof outline. Inspect the block of a set partition containing . If it contains another element, removing leaves a set partition into blocks of a set partition; conversely, insert into any of those blocks of a set partition. If is alone, remove its singleton set and obtain a set partition into blocks of a set partition. The cases cannot overlap, and deletion reverses each construction. This explains the factor even though the blocks of a set partition have no names. [ref]
For , start with the three two-block set partitions of . Inserting into either block of a set partition gives six possibilities. The remaining possibility is , obtained by making a singleton set. Hence . The seven set partitions in the diagram comprise four with sizes and three with sizes ; this grouping by sizes independently gives .
Figure 1.
Exact construction of all seven two-block set partitions of : six insert into an existing block of a set partition, and one creates a singleton set
. Details.
Three different counting questions. The binomial coefficient selects one -element subset. The Stirling number of the second kind groups all distinct elements into nonempty unnamed blocks of a set partition. The power counts all functions to a specified -element finite set, allowing some destination labels to go unused. At , these counts are respectively , , and . Choosing two people, making two unnamed nonempty teams, and assigning each person a red or blue label are different tasks.
When the destinations have labels. For fixed finite sets of sizes , respectively, the number of surjective functions is
Here every element of must be used. Each surjective function gives a set partition of into its nonempty preimages . Conversely, assign the distinct destination labels to the blocks of a set partition in ways, where is a factorial. For two labelled teams of four people this gives : of the assignments, exactly two use only one label. Dividing arbitrary function counts by fails in general because unused labels can be permuted without changing a function. For example, cannot count set partitions. The empty-to-empty function is a surjection, consistent with . Stanley gives the bijection underlying this qualification.[ref]
For example, the inclusion-exclusion principle counts the surjections from four elements to three labelled destinations as . Thus . An independent check chooses the only two-element block of a set partition in ways; the other two elements form singleton sets.
Why these numbers also occur in algebra. Classifying all functions to an -element finite set by the size of their image gives
For a fixed set partition, the falling factorial counts assignments of distinct labels to its blocks of a set partition, and is zero when . At , this reads . Replacing by yields a polynomial identity: both sides agree at every nonnegative integer. Thus the Stirling numbers of the second kind translate powers into falling factorials. Grouping by equal values turns a counting rule into an algebraic change of coordinates. Summing without destination labels instead gives the Bell number.