Hubbry Logo
Bell numberBell numberMain
Open search
Bell number
Community hub
Bell number
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Bell number
Bell number
from Wikipedia

In combinatorial mathematics, the Bell numbers count the possible partitions of a set. These numbers have been studied by mathematicians since the 19th century, and their roots go back to medieval Japan. In an example of Stigler's law of eponymy, they are named after Eric Temple Bell, who wrote about them in the 1930s.

The Bell numbers are denoted , where is an integer greater than or equal to zero. Starting with , the first few Bell numbers are

(sequence A000110 in the OEIS).

The Bell number counts the different ways to partition a set that has exactly elements, or equivalently, the equivalence relations on it. also counts the different rhyme schemes for -line poems.[1]

As well as appearing in counting problems, these numbers have a different interpretation, as moments of probability distributions. In particular, is the -th moment of a Poisson distribution with mean 1.

Counting

[edit]

Set partitions

[edit]
The 52 partitions of a set with 5 elements

In general, is the number of partitions of a set of size . A partition of a set is defined as a family of nonempty, pairwise disjoint subsets of whose union is . For example, because the 3-element set can be partitioned in 5 distinct ways:

As suggested by the set notation above, the ordering of subsets within the family is not considered; ordered partitions are counted by a different sequence of numbers, the ordered Bell numbers. is 1 because there is exactly one partition of the empty set. This partition is itself the empty set; it can be interpreted as a family of subsets of the empty set, consisting of zero subsets. It is vacuously true that all of the subsets in this family are non-empty subsets of the empty set and that they are pairwise disjoint subsets of the empty set, because there are no subsets to have these unlikely properties.

The partitions of a set correspond one-to-one with its equivalence relations. These are binary relations that are reflexive, symmetric, and transitive. The equivalence relation corresponding to a partition defines two elements as being equivalent when they belong to the same partition subset as each other. Conversely, every equivalence relation corresponds to a partition into equivalence classes.[2] Therefore, the Bell numbers also count the equivalence relations.

Factorizations

[edit]

If a number is a squarefree positive integer, meaning that it is the product of some number of distinct prime numbers, then gives the number of different multiplicative partitions of . These are factorizations of into numbers greater than one, treating two factorizations as the same if they have the same factors in a different order.[3] For instance, 30 is the product of the three primes 2, 3, and 5, and has = 5 factorizations:

Rhyme schemes

[edit]

The Bell numbers also count the rhyme schemes of an n-line poem or stanza. A rhyme scheme describes which lines rhyme with each other, and so may be interpreted as a partition of the set of lines into rhyming subsets. Rhyme schemes are usually written as a sequence of Roman letters, one per line, with rhyming lines given the same letter as each other, and with the first lines in each rhyming set labeled in alphabetical order. Thus, the 15 possible four-line rhyme schemes are AAAA, AAAB, AABA, AABB, AABC, ABAA, ABAB, ABAC, ABBA, ABBB, ABBC, ABCA, ABCB, ABCC, and ABCD.[1]

Permutations

[edit]

The Bell numbers come up in a card shuffling problem mentioned in the addendum to Gardner 1978. If a deck of n cards is shuffled by repeatedly removing the top card and reinserting it anywhere in the deck (including its original position at the top of the deck), with exactly n repetitions of this operation, then there are nn different shuffles that can be performed. Of these, the number that return the deck to its original sorted order is exactly Bn. Thus, the probability that the deck is in its original order after shuffling it in this way is Bn/nn, which is significantly larger than the 1/n! probability that would describe a uniformly random permutation of the deck.

Related to card shuffling are several other problems of counting special kinds of permutations that are also answered by the Bell numbers. For instance, the nth Bell number equals the number of permutations on n items in which no three values that are in sorted order have the last two of these three consecutive. In a notation for generalized permutation patterns where values that must be consecutive are written adjacent to each other, and values that can appear non-consecutively are separated by a dash, these permutations can be described as the permutations that avoid the pattern 1-23. The permutations that avoid the generalized patterns 12-3, 32-1, 3-21, 1-32, 3-12, 21-3, and 23-1 are also counted by the Bell numbers.[4] The permutations in which every 321 pattern (without restriction on consecutive values) can be extended to a 3241 pattern are also counted by the Bell numbers.[5] However, the Bell numbers grow too quickly to count the permutations that avoid a pattern that has not been generalized in this way: by the (now proven) Stanley–Wilf conjecture, the number of such permutations is singly exponential, and the Bell numbers have a higher asymptotic growth rate than that.

Triangle scheme for calculations

[edit]
The triangular array whose right-hand diagonal sequence consists of Bell numbers

The Bell numbers can easily be calculated by creating the so-called Bell triangle, also called Aitken's array or the Peirce triangle after Alexander Aitken and Charles Sanders Peirce.[6]

  1. Start with the number one. Put this on a row by itself. ()
  2. Start a new row with the rightmost element from the previous row as the leftmost number ( where r is the last element of (i − 1)-th row)
  3. Determine the numbers not on the left column by taking the sum of the number to the left and the number above the number to the left, that is, the number diagonally up and left of the number we are calculating
  4. Repeat step three until there is a new row with one more number than the previous row (do step 3 until )
  5. The number on the left hand side of a given row is the Bell number for that row. ()

Here are the first five rows of the triangle constructed by these rules:

The Bell numbers appear on both the left and right sides of the triangle.

Properties

[edit]

Summation formulas

[edit]

The Bell numbers satisfy a recurrence relation involving binomial coefficients:[7]

It can be explained by observing that, from an arbitrary partition of n + 1 items, removing the set containing the first item leaves a partition of a smaller set of k items for some number k that may range from 0 to n. There are choices for the k items that remain after one set is removed, and Bk choices of how to partition them.

A different summation formula represents each Bell number as a sum of Stirling numbers of the second kind

The Stirling number is the number of ways to partition a set of cardinality n into exactly k nonempty subsets. Thus, in the equation relating the Bell numbers to the Stirling numbers, each partition counted on the left hand side of the equation is counted in exactly one of the terms of the sum on the right hand side, the one for which k is the number of sets in the partition.[8]

Therefore, using the latter formula one can compute Bell numbers non-recursively as

using one of the explicit formula for the Stirling numbers of the second kind.[9]

Spivey 2008 has given a formula that combines both of these summations:

Applying Pascal's inversion formula to the recurrence relation, we obtain

which can be generalized in this manner:[10]

Other finite sum formulas using Stirling numbers of the first kind include[10]

which simplifies down with to

and with , to

which can be seen as the inversion formula for Stirling numbers applied to Spivey’s formula.

Generating function

[edit]

The exponential generating function of the Bell numbers is

In this formula, the summation in the middle is the general form used to define the exponential generating function for any sequence of numbers, and the formula on the right is the result of performing the summation in the specific case of the Bell numbers.

One way to derive this result uses analytic combinatorics, a style of mathematical reasoning in which sets of mathematical objects are described by formulas explaining their construction from simpler objects, and then those formulas are manipulated to derive the combinatorial properties of the objects. In the language of analytic combinatorics, a set partition may be described as a set of nonempty urns into which elements labelled from 1 to n have been distributed, and the combinatorial class of all partitions (for all n) may be expressed by the notation

Here, is a combinatorial class with only a single member of size one, an element that can be placed into an urn. The inner operator describes a set or urn that contains one or more labelled elements, and the outer describes the overall partition as a set of these urns. The exponential generating function may then be read off from this notation by translating the operator into the exponential function and the nonemptiness constraint ≥1 into subtraction by one.[11]

An alternative method for deriving the same generating function uses the recurrence relation for the Bell numbers in terms of binomial coefficients to show that the exponential generating function satisfies the differential equation . The function itself can be found by solving this equation.[12][13][14]

Moments of probability distributions

[edit]

The Bell numbers satisfy Dobinski's formula[15][12][14]

This formula can be derived by expanding the exponential generating function using the Taylor series for the exponential function, and then collecting terms with the same exponent.[11] It allows Bn to be interpreted as the nth moment of a Poisson distribution with expected value 1.

The nth Bell number is also the sum of the coefficients in the nth complete Bell polynomial, which expresses the nth moment of any probability distribution as a function of the first n cumulants.

Modular arithmetic

[edit]

The Bell numbers obey Touchard's congruence: If p is any prime number then[16]

or, generalizing[17]

Because of Touchard's congruence, the Bell numbers are periodic modulo p, for every prime number p; for instance, for p = 2, the Bell numbers repeat the pattern odd-odd-even with period three. The period of this repetition, for an arbitrary prime number p, must be a divisor of

and for all prime and , or it is exactly this number (sequence A001039 in the OEIS).[18][19]

The period of the Bell numbers to modulo n are

1, 3, 13, 12, 781, 39, 137257, 24, 39, 2343, 28531167061, 156, ... (sequence A054767 in the OEIS)

Integral representation

[edit]

An application of Cauchy's integral formula to the exponential generating function yields the complex integral representation

Some asymptotic representations can then be derived by a standard application of the method of steepest descent.[20]

Log-concavity

[edit]

The Bell numbers form a logarithmically convex sequence. Dividing them by the factorials, Bn/n!, gives a logarithmically concave sequence.[21][22][23]

Growth rate

[edit]

Several asymptotic formulas for the Bell numbers are known. In Berend & Tassa 2010 the following bounds were established:

for all positive integers ;

moreover, if then for all ,

where and The Bell numbers can also be approximated using the Lambert W function, a function with the same growth rate as the logarithm, as[24]

Moser & Wyman 1955 established the expansion

uniformly for as , where and each and are known expressions in .[25]

The asymptotic expression

was established by de Bruijn 1981.

Bell primes

[edit]

Gardner 1978 raised the question of whether infinitely many Bell numbers are also prime numbers. These are called Bell primes. The first few Bell primes are:

2, 5, 877, 27644437, 35742549198872617291353508656626642567, 359334085968622831041960188598043661065388726959079837 (sequence A051131 in the OEIS)

corresponding to the indices 2, 3, 7, 13, 42 and 55 (sequence A051130 in the OEIS). The next Bell prime is B2841, which is approximately 9.30740105 × 106538.[26]

History

[edit]
The traditional Japanese symbols for the 54 chapters of the Tale of Genji are based on the 52 ways of partitioning five elements (the two red symbols represent the same partition, and the green symbol is added for reaching 54).[27]

The Bell numbers are named after Eric Temple Bell, who wrote about them in 1938, following up a 1934 paper in which he studied the Bell polynomials.[28][29] Bell did not claim to have discovered these numbers; in his 1938 paper, he wrote that the Bell numbers "have been frequently investigated" and "have been rediscovered many times". Bell cites several earlier publications on these numbers, beginning with Dobiński 1877 which gives Dobiński's formula for the Bell numbers. Bell called these numbers "exponential numbers"; the name "Bell numbers" and the notation Bn for these numbers was given to them by Becker & Riordan 1948.[30]

The first exhaustive enumeration of set partitions appears to have occurred in medieval Japan, where (inspired by the popularity of the book The Tale of Genji) a parlor game called genjikō sprang up, in which guests were given five packets of incense to smell and were asked to guess which ones were the same as each other and which were different. The 52 possible solutions, counted by the Bell number B5, were recorded by 52 different diagrams, which were printed above the chapter headings in some editions of The Tale of Genji.[27][31]

In Srinivasa Ramanujan's second notebook, he investigated both Bell polynomials and Bell numbers.[32] Early references for the Bell triangle, which has the Bell numbers on both of its sides, include Peirce 1880 and Aitken 1933.

See also

[edit]

Notes

[edit]

References

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
The Bell numbers form a sequence of positive integers in combinatorics, where the nth Bell number, denoted BnB_n, counts the total number of partitions of a set containing n distinct elements into nonempty unlabeled subsets. These numbers arise naturally in problems involving the division of objects into groups without regard to order or labeling of the groups themselves. Although named after the mathematician Eric Temple Bell, who analyzed them in a 1934 paper on partition polynomials, the sequence was first systematically studied by Srinivasa Ramanujan around 1904–1909 in his notebooks. The first few Bell numbers are B0=1B_0 = 1, B1=1B_1 = 1, B2=2B_2 = 2, B3=5B_3 = 5, B4=15B_4 = 15, B5=52B_5 = 52, B6=203B_6 = 203, and B7=877B_7 = 877, exhibiting rapid exponential growth thereafter. Combinatorially, BnB_n equals the sum of the Stirling numbers of the second kind S(n,k)S(n, k) over k=0k = 0 to nn, where S(n,k)S(n, k) counts the partitions into exactly k nonempty subsets. Bell numbers hold significant importance in enumerative combinatorics, as they also count the number of equivalence relations on an n-element set and appear in the exponential generating function eex1=n=0Bnxnn!e^{e^x - 1} = \sum_{n=0}^\infty B_n \frac{x^n}{n!}. Additional representations include Dobiński's formula, Bn=1ek=0knk!B_n = \frac{1}{e} \sum_{k=0}^\infty \frac{k^n}{k!}, which connects them to expectations. Their study extends to applications in probability, for clustering algorithms, and , including rare prime instances like B2=2B_2 = 2, B3=5B_3 = 5, and the massive B2841B_{2841} proven prime in 2004.

Definition and examples

Definition

In , the Bell number BnB_n denotes the total number of ways to partition a set with nn elements into nonempty subsets. A SS is a collection of nonempty subsets AiSA_i \subseteq S such that Ai=S\bigcup A_i = S and AiAj=A_i \cap A_j = \emptyset for all iji \neq j. For example, consider the set {1,2,3}\{1, 2, 3\}. Its partitions are {{1,2,3}}\{\{1,2,3\}\}, {{1},{2,3}}\{\{1\}, \{2,3\}\}, {{2},{1,3}}\{\{2\}, \{1,3\}\}, {{3},{1,2}}\{\{3\}, \{1,2\}\}, and {{1},{2},{3}}\{\{1\}, \{2\}, \{3\}\}, yielding B3=5B_3 = 5. The Bell numbers satisfy the explicit formula Bn=k=0nS(n,k)B_n = \sum_{k=0}^n S(n,k), where S(n,k)S(n,k) is the of the second kind, which counts the number of partitions of an nn-element set into exactly kk nonempty subsets. By convention, B0=1B_0 = 1, corresponding to the single partition of the .

Initial values

The initial Bell numbers provide concrete illustrations of the sequence's values for small nonnegative integers nn, starting from the . These numbers are obtained by systematically enumerating the distinct ways to partition sets with nn elements. The first Bell numbers, BnB_n for n=0n = 0 to n=15n = 15, are tabulated below to demonstrate their progression:
nnBnB_n
01
11
22
35
415
552
6203
7877
84140
921147
10115975
11678570
124213597
1327644437
14190899322
151382958545
For example, B3=5B_3 = 5 counts the partitions of a three-element set into nonempty subsets. The sequence exhibits rapid , as evident from the jump from B5=52B_5 = 52 to B151.38×109B_{15} \approx 1.38 \times 10^9, underscoring the increasing complexity of partitioning larger sets.

Combinatorial interpretations

Set partitions

A set partition of a SS with nn elements is a collection of nonempty subsets of SS that are pairwise disjoint and whose union is exactly SS. These subsets, called blocks, group the elements of SS into distinct, non-overlapping groups without leaving any element unassigned. The Bell number BnB_n counts the total number of such partitions for any nn-element set. There exists a natural bijection between the set partitions of SS and the equivalence relations on SS. Specifically, given an equivalence relation \sim on SS, the equivalence classes—sets of elements deemed equivalent under \sim—form a partition of SS, with each class as a block. Conversely, any partition of SS defines an equivalence relation where two elements are equivalent if and only if they belong to the same block. This correspondence highlights the structural equivalence between partitioning and relational grouping in set theory. The number of set partitions of an nn-element set into exactly kk blocks is given by the Stirling number of the second kind S(n,k)S(n,k), so Bn=k=1nS(n,k)B_n = \sum_{k=1}^n S(n,k). This partition perspective connects directly to surjective functions: the number of surjective (onto) functions from an nn-element set to a kk-element set is k!S(n,k)k! \, S(n,k), as each such function assigns elements to kk labeled targets exhaustively, with the preimages forming an unordered partition into kk blocks that can then be labeled in k!k! ways. Thus, while surjections emphasize ordered codomains, the underlying structure reverts to the unordered blocks of set partitions, underscoring the primacy of the partition interpretation for Bell numbers. To illustrate, consider the set S={1,2,3,4}S = \{1, 2, 3, 4\}, for which B4=15B_4 = 15. The partitions can be grouped by the number of blocks kk:
  • For k=1k=1: 1 partition
    {{1,2,3,4}}\{\{1,2,3,4\}\}
  • For k=2k=2: 7 partitions
    • One triple and one singleton (4 partitions):
      {{1,2,3},{4}}\{\{1,2,3\},\{4\}\}, {{1,2,4},{3}}\{\{1,2,4\},\{3\}\}, {{1,3,4},{2}}\{\{1,3,4\},\{2\}\}, {{2,3,4},{1}}\{\{2,3,4\},\{1\}\}
    • Two doubletons (3 partitions):
      {{1,2},{3,4}}\{\{1,2\},\{3,4\}\}, {{1,3},{2,4}}\{\{1,3\},\{2,4\}\}, {{1,4},{2,3}}\{\{1,4\},\{2,3\}\}
  • For k=3k=3: 6 partitions (each consisting of one doubleton and two singletons):
    {{1,2},{3},{4}}\{\{1,2\},\{3\},\{4\}\}, {{1,3},{2},{4}}\{\{1,3\},\{2\},\{4\}\}, {{1,4},{2},{3}}\{\{1,4\},\{2\},\{3\}\},
    {{2,3},{1},{4}}\{\{2,3\},\{1\},\{4\}\}, {{2,4},{1},{3}}\{\{2,4\},\{1\},\{3\}\}, {{3,4},{1},{2}}\{\{3,4\},\{1\},\{2\}\}
  • For k=4k=4: 1 partition
    {{1},{2},{3},{4}}\{\{1\},\{2\},\{3\},\{4\}\}
This enumeration demonstrates how the partitions grow combinatorially, with the Stirling numbers S(4,1)=1S(4,1)=1, S(4,2)=7S(4,2)=7, S(4,3)=6S(4,3)=6, S(4,4)=1S(4,4)=1 summing to B4=15B_4=15.

Rhyme schemes

In poetry, a rhyme scheme specifies the pattern of end rhymes across the lines of a stanza, effectively partitioning the set of n lines into subsets where lines within each subset share the same rhyme sound. This combinatorial structure aligns directly with the enumeration provided by Bell numbers, as each possible partitioning corresponds to a distinct rhyme scheme. For a two-line stanza, the Bell number B2=2B_2 = 2 counts the schemes AA (both lines rhyme) and AB (lines rhyme differently). With three lines, B3=5B_3 = 5 yields the schemes AAA (all rhyme), AAB (first two rhyme, third differs), ABA (first and third rhyme), ABB (last two rhyme), and ABC (all distinct). This mapping mirrors the set partitions interpretation, where each block of the partition represents a group of lines assigned to the same rhyme sound, and distinct labels (such as A, B, C) differentiate the sounds across blocks. As explored in the preceding section on set partitions, the total count of such configurations for n lines is the nth Bell number. The application of Bell numbers has been utilized in and to systematically classify structures and explore patterns in verse composition.

Factorizations

The Bell number BnB_n provides a combinatorial interpretation in by counting the number of unordered factorizations of a square-free positive with exactly nn distinct prime factors into integers greater than 1. A is one that is not divisible by any perfect square other than 1, meaning its prime consists of distinct primes raised to . For such an m=p1p2pnm = p_1 p_2 \cdots p_n, where pip_i are distinct primes, an unordered is a way to write mm as a product f1f2fkf_1 f_2 \cdots f_k with each fj>1f_j > 1 and the order of the factors disregarded. The total number of such factorizations equals BnB_n, as each factorization corresponds uniquely to a partition of the set {p1,p2,,pn}\{p_1, p_2, \dots, p_n\} into non-empty subsets, where each subset's product forms one factor fjf_j. This arises because grouping the primes into subsets mirrors the structure of set partitions: singleton subsets yield prime factors, while larger subsets yield composite factors from their products. For instance, the trivial partition into one block gives the single-factor representation mm itself, while the partition into nn singletons gives the full prime . Since the factors are unordered, different permutations of the same grouping do not count as distinct, aligning precisely with the unordered nature of set partitions counted by BnB_n. To illustrate, consider n=1n = 1: Let m=2m = 2. There is only one : 22. This matches B1=1B_1 = 1. For n=2n = 2: Let m=6=2×3m = 6 = 2 \times 3. The factorizations are 66 (primes together) and 2×32 \times 3 (primes separate), giving 2 ways, matching B2=2B_2 = 2. For n=3n = 3: Let m=30=2×3×5m = 30 = 2 \times 3 \times 5. The factorizations are:
  • 3030 (all primes together),
  • 6×56 \times 5, 10×310 \times 3, 15×215 \times 2 (one pair and one singleton),
  • 2×3×52 \times 3 \times 5 (all separate).
This yields 5 distinct unordered factorizations, matching B3=5B_3 = 5. For n=4n = 4: With m=210=2×3×5×7m = 210 = 2 \times 3 \times 5 \times 7, the 15 factorizations correspond to the 15 partitions of a 4-element set, such as 210210, composites like 6×356 \times 35, 2×1052 \times 105, triples like 2×3×352 \times 3 \times 35, and so on. This interpretation highlights the deep connection between additive partitioning of sets and multiplicative structures in integers, though it applies specifically to square-free cases; for non-square-free integers, the count involves more complex partitioning of exponent multisets, generalizing beyond plain Bell numbers.

Permutations

The Bell number BnB_n enumerates the permutations of the set ={1,2,,n} = \{1, 2, \dots, n\} that avoid the generalized pattern 1231\mathbin{-}23. In generalized pattern avoidance, the notation 1231\mathbin{-}23 specifies an occurrence as indices i<j<j+1ni < j < j+1 \leq n in a permutation π\pi where π(i)<π(j)<π(j+1)\pi(i) < \pi(j) < \pi(j+1), meaning an earlier entry smaller than an adjacent increasing pair later in the sequence. Thus, 1231\mathbin{-}23-avoiding permutations are those with no such configuration, ensuring that every adjacent ascent is either at the start or lacks a smaller preceding value. This interpretation aligns with the known values of Bell numbers for small nn. For n=1n=1, the single permutation (1)(1) avoids the pattern. For n=2n=2, both 1212 and 2121 avoid it, as no valid triple exists. For n=3n=3, the avoiding permutations are 132132, 213213, 231231, 312312, and 321321; the permutation 123123 contains an occurrence at positions 1,2,31,2,3 since 1<2<31 < 2 < 3. This yields 5 permutations, matching B3=5B_3 = 5. A bijection maps these avoiding permutations to set partitions of $$ by interpreting the permutation's structure—specifically, its descents and ascents—as defining partition blocks in a canonical decreasing order within blocks, with the avoidance condition preserving the partition's integrity. This connection highlights the combinatorial equivalence between the two objects.

Computation methods

Recurrence relations

The Bell numbers satisfy the initial condition B0=1B_0 = 1 and the recurrence relation Bn+1=k=0n(nk)BkB_{n+1} = \sum_{k=0}^n \binom{n}{k} B_k for n0n \geq 0. This relation provides a direct method for iterative computation of successive Bell numbers from prior values. The recurrence follows from the combinatorial meaning of Bell numbers as the number of partitions of an (n+1)(n+1)-element set S={1,2,,n+1}S = \{1, 2, \dots, n+1\}. Consider the block containing the distinguished element n+1n+1; this block includes n+1n+1 together with some subset of kk elements from {1,2,,n}\{1, 2, \dots, n\}, where 0kn0 \leq k \leq n. There are (nk)\binom{n}{k} ways to choose this subset, and the remaining nkn - k elements can then be partitioned arbitrarily in BnkB_{n-k} ways. Summing over all possible kk and substituting j=nkj = n - k yields the given formula. To illustrate, the computation of B4B_4 (assuming prior values B0=1B_0 = 1, B1=1B_1 = 1, B2=2B_2 = 2, B3=5B_3 = 5) proceeds as B4=k=03(3k)Bk=(30)B0+(31)B1+(32)B2+(33)B3=11+31+32+15=15.B_4 = \sum_{k=0}^3 \binom{3}{k} B_k = \binom{3}{0} B_0 + \binom{3}{1} B_1 + \binom{3}{2} B_2 + \binom{3}{3} B_3 = 1 \cdot 1 + 3 \cdot 1 + 3 \cdot 2 + 1 \cdot 5 = 15. Similar steps yield higher terms, such as B5=52B_5 = 52. Although the recurrence enables computation via dynamic programming in O(n2)O(n^2) time to obtain BnB_n (as each of the nn steps requires O(n)O(n) additions), practical limits arise for large nn due to the super-exponential growth of the numbers themselves, which exceed standard integer precision beyond n1000n \approx 1000 without specialized big-integer arithmetic.

Bell triangle

The Bell triangle, also known as Aitken's array or the Peirce triangle, is a triangular array of natural numbers that facilitates the computation of Bell numbers through successive additions, much like Pascal's triangle but with a shifted starting point for each row. The array is indexed by row number n0n \geq 0 and column index k=0,1,,nk = 0, 1, \dots, n, with entries denoted C(n,k)C(n,k). It begins with the single entry C(0,0)=1C(0,0) = 1. For n1n \geq 1, the first entry of each row is set to the last entry of the previous row: C(n,0)=C(n1,n1)C(n,0) = C(n-1,n-1). Subsequent entries in the row are computed as C(n,k)=C(n,k1)+C(n1,k1)C(n,k) = C(n,k-1) + C(n-1,k-1) for 1kn1 \leq k \leq n. This construction directly yields the Bell numbers as the leftmost column C(n,0)=BnC(n,0) = B_n for each nn. The name "Bell triangle" refers to the Bell numbers appearing in the first column. The following table illustrates the first six rows (up to n=5n=5) of the Bell triangle:
nnk=0k=0k=1k=1k=2k=2k=3k=3k=4k=4k=5k=5
01
112
2235
3571015
41520273752
5526787114151203
Here, the Bell numbers B0=1B_0 = 1, B1=1B_1 = 1, B2=2B_2 = 2, B3=5B_3 = 5, B4=15B_4 = 15, and B5=52B_5 = 52 appear in the first column. The entries C(n,k)C(n,k) enumerate the number of partitions of a set of n+1n+1 elements where the largest element belongs to a block of size k+1k+1. The Bell triangle was independently discovered by several mathematicians, starting with in 1880, followed by Alexander Aitken in 1933. Its simple additive recurrence makes it advantageous for hand calculations of Bell numbers, as it requires only basic arithmetic operations without needing to compute binomial coefficients or more intricate formulas, allowing quick extension to larger nn compared to direct application of the underlying recurrence Bn=k=0n1(n1k)BkB_n = \sum_{k=0}^{n-1} \binom{n-1}{k} B_k. This tabular approach visually implements the combinatorial recurrence for set partitions in an iterative manner.

Mathematical properties

Generating functions

The exponential generating function for the Bell numbers BnB_n is given by G(x)=n=0Bnxnn!=eex1.G(x) = \sum_{n=0}^\infty B_n \frac{x^n}{n!} = e^{e^x - 1}. This closed-form expression arises from the combinatorial interpretation of Bell numbers as the number of partitions of an nn-element set. To derive this, consider the exponential formula for labeled structures, which states that the exponential generating function for set partitions is the exponential of the generating function for the connected components (nonempty subsets). The exponential generating function for nonempty subsets of size n1n \geq 1 is n=1xnn!=ex1\sum_{n=1}^\infty \frac{x^n}{n!} = e^x - 1, since each subset is a single block without further structure. Applying the exponential formula yields G(x)=eex1G(x) = e^{e^x - 1}, where the outer exponential accounts for the disjoint union of blocks forming the partition. Alternatively, the formula can be obtained from the recurrence Bn=k=0n1(n1k)BkB_n = \sum_{k=0}^{n-1} \binom{n-1}{k} B_k with B0=1B_0 = 1. Multiplying by xn/n!x^n / n! and summing over n1n \geq 1 leads to the differential equation G(x)=exG(x)G'(x) = e^x G(x) with G(0)=1G(0) = 1, whose solution is G(x)=eex1G(x) = e^{e^x - 1}. The ordinary generating function n=0Bnxn\sum_{n=0}^\infty B_n x^n lacks a simple closed form but satisfies the functional equation B(x)=1+x1xB(x1x)B(x) = 1 + \frac{x}{1-x} B\left(\frac{x}{1-x}\right). This exponential generating function facilitates derivations of other identities, such as expressing the raw moments of a Poisson random variable with parameter λ=1\lambda = 1, where the nnth moment equals BnB_n.

Summation formulas

One explicit summation formula for the Bell number BnB_n expresses it as the sum of the Stirling numbers of the second kind S(n,k)S(n,k) from k=0k=0 to nn: Bn=k=0nS(n,k),B_n = \sum_{k=0}^n S(n,k), where S(n,k)S(n,k) denotes the number of ways to partition an nn-element set into exactly kk nonempty unlabeled subsets. This relation follows directly from the combinatorial interpretation of Bell numbers as the total number of partitions of an nn-element set, aggregating over all possible numbers of subsets. A well-known infinite summation formula, known as Dobiński's formula, provides another explicit expression: Bn=1ek=0knk!.B_n = \frac{1}{e} \sum_{k=0}^\infty \frac{k^n}{k!}. This formula, first derived by Dobiński in 1877, arises from the exponential generating function for Bell numbers or through probabilistic arguments. One derivation interprets the sum as the nnth factorial moment of a Poisson random variable with parameter 1, which equals BnB_n due to the connection between set partitions and the moments of this distribution. Numerical verification of Dobiński's formula holds for small values of nn. For n=1n=1, the sum is 1e(01/0!+11/1!+21/2!+31/3!+)=1ee=1=B1\frac{1}{e} (0^1/0! + 1^1/1! + 2^1/2! + 3^1/3! + \cdots) = \frac{1}{e} \cdot e = 1 = B_1. For n=2n=2, it yields 1e(0+1+2/2+6/6+24/24+)=2=B2\frac{1}{e} (0 + 1 + 2/2 + 6/6 + 24/24 + \cdots) = 2 = B_2. For n=3n=3, the partial sum up to k=10k=10 approximates 5, matching B3=5B_3 = 5, with convergence improving for larger terms.

Asymptotic growth

The asymptotic growth of the Bell numbers BnB_n is characterized by a formula involving the , which provides a precise approximation for large nn. Define r=W(n)r = W(n), the principal branch of the Lambert WW function satisfying rer=nr e^r = n. Equivalently, let N=erN = e^r, so that NlnN=nN \ln N = n. Then, BnNneNn11+lnNB_n \sim \frac{N^n e^{N - n - 1}}{\sqrt{1 + \ln N}}
Add your contribution
Related Hubs
User Avatar
No comments yet.