Navigation
  • Home
  • Recent
  • Most Active
  • Popular
  • Blog
  • Credits
  • RSS
  •   Interaction
  • Register
  • Statistics
  •   Help
  • Suggestions
  • Contact Us
  • How to Edit
  • Help



  • [Edit]


    In combinatorial mathematics, the nth Bell number, named in honor of Eric Temple Bell, is the number of partitions of a set with n members, or equivalently, the number of equivalence relations on it. Starting with B0 = B1 = 1, the first few Bell numbers are :

    1, 1, 2, 5, 15, 52, 203, 877, 4140, 21147, 115975


    (See also breakdown by number of subsets/equivalence classes.)


        Bell number
            Partitions of a set
            Another view of Bell numbers
            Properties of Bell numbers
            Asymptotic limit
            Triangle scheme for calculating Bell numbers
            See also

    top

    Partitions of a set

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





    &
      125;

    B0 is 1 because there is exactly one partition of the empty set. Every member of the empty set is a nonempty set (that is vacuously true), and their union is the empty set. Therefore, the empty set is the only partition of itself.

    Note that, as suggested by the set notation above, we consider neither the order of the partitions nor the order of elements within each partition. This means the following partitionings are all considered identical:






    top

    Another view of Bell numbers

    Bell numbers can also be viewed as the number of distinct possible ways of putting n distinguishable balls into one or more indistinguishable boxes. For example, let us suppose n is 3. We have three balls, which we will label a, b, and c, and three boxes. If the boxes can not be distinguished from each other, there are five ways of putting the balls in the boxes:

      Each ball goes in to its own box.
      All three balls go in to one box. Since the boxes are anonymous, this is only considered one combination.
      a goes in to one box; b and c go in to another box.
      b goes in to one box; a and c go in to another box.
      c goes in to one box; a and b go in to another box.

    top

    Properties of Bell numbers

    The Bell numbers satisfy this recursion formula:
    B_=sum_^.

    They also satisfy "Dobinski's formula":
    B_n= racsum_^infty rac= the n-th moment of a Poisson distribution with expected value 1.

    And they satisfy "Touchard's congruence": If p is any prime number then
    B_equiv B_n+B_ (operatorname p).


    Each Bell number is a sum of "Stirling numbers of the second kind"
    B_n=sum_^n S(n,k).

    The Stirling number S(n, k) is the number of ways to partition a set of cardinality n into exactly k nonempty subsets.

    The n-th Bell number is also the sum of the coefficients in the polynomial that expresses the nth moment of any probability distribution as a function of the first n cumulants; this way of enumerating partitions is not as coarse as that given by the Stirling numbers.

    The exponential generating function of the Bell numbers is

    sum_^infty rac x^n = e^.


    top

    Asymptotic limit

    The asymptotic formula of the Bell numbers is

    B_n sim racleft {lambda left( n ight)} ight^ e^.


    Here lambda(n) = e^, where W is the Lambert W function.

    (Lovász, 1993)

    top

    Triangle scheme for calculating 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:

      Start with the number one. Put this on a row by itself.
      Start a new row with the rightmost element from the previous row as the leftmost number
      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 (the number diagonally up and left of the number we are calculating)
      Repeat step three until there is a new row with one more number than the previous row
      The number on the left hand side of a given row is the Bell number for that row.

    For example, the first row is made by placing one by itself. The next (second) row is made by taking the rightmost number from the previous row (1), and placing it on a new row. We now have a structure like this:


    1
    1 x


    The value x here is determined by adding the number to the left of x (one) and the number above the number to the left of x (also one).


    1
    1 2
    y


    The value y is determined by copying over the number from the right of the previous row. Since the number on the right hand side of the previous row has a value of 2, y is given a value of two.


    1
    1 2
    2 3 x


    Again, since x is not the leftmost element of a given row, its value is determined by taking the sum of the number to x's left (three) and the number above the number to x's left (two). The sum is five.

    Here is the first five rows of this triangle:


    1
    1 2
    2 3 5
    5 7 10 15
    15 20 27 37 52


    The fifth row is calculated thusly:

      Take 15 from the previous row
      15 + 5 = 20
      20 + 7 = 27
      27 + 10 = 37
      37 + 15 = 52

    The number in the nth row and kth column is the number of partitions of such that n is not together in one class with any of the elements k, k + 1, ..., n − 1. For example, there are 7 partitions of such that 4 is not together in one class with either of the elements 2, 3, and there are 10 partitions of such that 4 is not together in one class with element 3. The difference is due to 3 partitions of such that 4 is together in one class with element 2, but not with element 3. This corresponds to the fact that there are 3 partitions of such that 3 is not together in one class with element 2: for counting partitions two elements which are always in one class can be treated as just one element. The 3 appears in the previous row of the table.

    Using this way of calculating the following JavaScript shows the first 219 Bell numbers:
    function write_bell ( hBound )
    write_bell ( 218 )

    top

    See also
     
    Search more:
     

       
    Source Privacy License Download Contact Us Atlas
    Scientus.org Dictionary (Yet Another Wiki) RC : 1.39
    This article is licensed under the GNU Free Documentation License [copyleft]. It uses material from the Wikipedia article "Bell number". link