fbpx
Wikipedia

Stirling numbers of the second kind

In mathematics, particularly in combinatorics, a Stirling number of the second kind (or Stirling partition number) is the number of ways to partition a set of n objects into k non-empty subsets and is denoted by or .[1] Stirling numbers of the second kind occur in the field of mathematics called combinatorics and the study of partitions.

The 15 partitions of a 4-element set ordered in a Hasse diagram
There are S(4,1), ..., S(4, 4) = 1, 7, 6, 1 partitions containing 1, 2, 3, 4 sets.

Stirling numbers of the second kind are one of two kinds of Stirling numbers, the other kind being called Stirling numbers of the first kind (or Stirling cycle numbers). Mutually inverse (finite or infinite) triangular matrices can be formed from the Stirling numbers of each kind according to the parameters n, k.

Definition

The Stirling numbers of the second kind, written   or   or with other notations, count the number of ways to partition a set of   labelled objects into   nonempty unlabelled subsets. Equivalently, they count the number of different equivalence relations with precisely   equivalence classes that can be defined on an   element set. In fact, there is a bijection between the set of partitions and the set of equivalence relations on a given set. Obviously,

  for n ≥ 0, and   for n ≥ 1,

as the only way to partition an n-element set into n parts is to put each element of the set into its own part, and the only way to partition a nonempty set into one part is to put all of the elements in the same part. They can be calculated using the following explicit formula:[2]

 

The Stirling numbers of the second kind may also be characterized as the numbers that arise when one expresses powers of an indeterminate x in terms of the falling factorials[3]

 

(In particular, (x)0 = 1 because it is an empty product.) In general, one has

 

Notation

Various notations have been used for Stirling numbers of the second kind. The brace notation   was used by Imanuel Marx and Antonio Salmeri in 1962 for variants of these numbers.[4][5] This led Knuth to use it, as shown here, in the first volume of The Art of Computer Programming (1968).[6][7] According to the third edition of The Art of Computer Programming, this notation was also used earlier by Jovan Karamata in 1935.[8][9] The notation S(n, k) was used by Richard Stanley in his book Enumerative Combinatorics and also, much earlier, by many other writers.[6]

The notations used on this page for Stirling numbers are not universal, and may conflict with notations in other sources.

Relation to Bell numbers

Since the Stirling number   counts set partitions of an n-element set into k parts, the sum

 

over all values of k is the total number of partitions of a set with n members. This number is known as the nth Bell number.

Analogously, the ordered Bell numbers can be computed from the Stirling numbers of the second kind via

 [10]

Table of values

Below is a triangular array of values for the Stirling numbers of the second kind (sequence A008277 in the OEIS):

k
n
0 1 2 3 4 5 6 7 8 9 10
0 1
1 0 1
2 0 1 1
3 0 1 3 1
4 0 1 7 6 1
5 0 1 15 25 10 1
6 0 1 31 90 65 15 1
7 0 1 63 301 350 140 21 1
8 0 1 127 966 1701 1050 266 28 1
9 0 1 255 3025 7770 6951 2646 462 36 1
10 0 1 511 9330 34105 42525 22827 5880 750 45 1

As with the binomial coefficients, this table could be extended to k > n, but those entries would all be 0.

Properties

Recurrence relation

Stirling numbers of the second kind obey the recurrence relation

 

with initial conditions

 

For instance, the number 25 in column k=3 and row n=5 is given by 25=7+(3×6), where 7 is the number above and to the left of 25, 6 is the number above 25 and 3 is the column containing the 6.

To prove this recurrence, observe that a partition of the   objects into k nonempty subsets either contains the  -th object as a singleton or it does not. The number of ways that the singleton is one of the subsets is given by

 

since we must partition the remaining n objects into the available   subsets. In the other case the  -th object belongs to a subset containing other objects. The number of ways is given by

 

since we partition all objects other than the  -th into k subsets, and then we are left with k choices for inserting object  . Summing these two values gives the desired result.

Some more recurrences are as follows:

 
 
 

Lower and upper bounds

If   and  , then

 

where

 

and

  [11]

Maximum

For fixed  ,   has a single maximum, which is attained for at most two consecutive values of k. That is, there is an integer   such that

 
 

When   is large

 

and the maximum value of the Stirling number of second kind is

  [11]

Parity

 
Parity of Stirling numbers of the second kind.

The parity of a Stirling number of the second kind is equal to the parity of a related binomial coefficient:

  where  

This relation is specified by mapping n and k coordinates onto the Sierpiński triangle.

More directly, let two sets contain positions of 1's in binary representations of results of respective expressions:

 

One can mimic a bitwise AND operation by intersecting these two sets:

 

to obtain the parity of a Stirling number of the second kind in O(1) time. In pseudocode:

 

where   is the Iverson bracket.

The parity of a central Stirling number of the second kind   is odd if and only if   is a fibbinary number, a number whose binary representation has no two consecutive 1s.[12]

Simple identities

Some simple identities include

 

This is because dividing n elements into n − 1 sets necessarily means dividing it into one set of size 2 and n − 2 sets of size 1. Therefore we need only pick those two elements;

and

 

To see this, first note that there are 2n ordered pairs of complementary subsets A and B. In one case, A is empty, and in another B is empty, so 2n − 2 ordered pairs of subsets remain. Finally, since we want unordered pairs rather than ordered pairs we divide this last number by 2, giving the result above.

Another explicit expansion of the recurrence-relation gives identities in the spirit of the above example.

 

These examples can be summarized by the recurrence

 

Explicit formula

The Stirling numbers of the second kind are given by the explicit formula:

 

This can be derived by using inclusion-exclusion to count the number of surjections from n to k and using the fact that the number of such surjections is  .

Additionally, this formula is a special case of the kth forward difference of the monomial   evaluated at x = 0:

 

Because the Bernoulli polynomials may be written in terms of these forward differences, one immediately obtains a relation in the Bernoulli numbers:

 

Generating functions

For a fixed integer n, the ordinary generating function for the Stirling numbers of the second kind   is given by

 

where   are Touchard polynomials. If one sums the Stirling numbers against the falling factorial instead, one can show the following identities, among others:

 

and

 

For a fixed integer k, the Stirling numbers of the second kind   have rational ordinary generating function

 

and have exponential generating function given by

 

A mixed bivariate generating function for the Stirling numbers of the second kind is

 

Asymptotic approximation

For fixed value of   the asymptotic value of the Stirling numbers of the second kind as   is given by

 

On the other side, if   (where o denotes the little o notation) then

 [13]

A uniformly valid approximation also exists: for all k such that 1 < k < n, one has

 

where  , and   is the unique solution to  .[14] Relative error is bounded by about  .

Applications

Moments of the Poisson distribution

If X is a random variable with a Poisson distribution with expected value λ, then its n-th moment is

 

In particular, the nth moment of the Poisson distribution with expected value 1 is precisely the number of partitions of a set of size n, i.e., it is the nth Bell number (this fact is Dobiński's formula).

Moments of fixed points of random permutations

Let the random variable X be the number of fixed points of a uniformly distributed random permutation of a finite set of size m. Then the nth moment of X is

 

Note: The upper bound of summation is m, not n.

In other words, the nth moment of this probability distribution is the number of partitions of a set of size n into no more than m parts. This is proved in the article on random permutation statistics, although the notation is a bit different.

Rhyming schemes

The Stirling numbers of the second kind can represent the total number of rhyme schemes for a poem of n lines.   gives the number of possible rhyming schemes for n lines using k unique rhyming syllables. As an example, for a poem of 3 lines, there is 1 rhyme scheme using just one rhyme (aaa), 3 rhyme schemes using two rhymes (aab, aba, abb), and 1 rhyme scheme using three rhymes (abc).

Variants

Associated Stirling numbers of the second kind

An r-associated Stirling number of the second kind is the number of ways to partition a set of n objects into k subsets, with each subset containing at least r elements.[15] It is denoted by   and obeys the recurrence relation

 

The 2-associated numbers (sequence A008299 in the OEIS) appear elsewhere as "Ward numbers" and as the magnitudes of the coefficients of Mahler polynomials.

Reduced Stirling numbers of the second kind

Denote the n objects to partition by the integers 1, 2, ..., n. Define the reduced Stirling numbers of the second kind, denoted  , to be the number of ways to partition the integers 1, 2, ..., n into k nonempty subsets such that all elements in each subset have pairwise distance at least d. That is, for any integers i and j in a given subset, it is required that  . It has been shown that these numbers satisfy

 

(hence the name "reduced").[16] Observe (both by definition and by the reduction formula), that  , the familiar Stirling numbers of the second kind.

See also

References

  1. ^ Ronald L. Graham, Donald E. Knuth, Oren Patashnik (1988) Concrete Mathematics, Addison–Wesley, Reading MA. ISBN 0-201-14236-8, p. 244.
  2. ^ "Stirling Number of the Second Kind".
  3. ^ Confusingly, the notation that combinatorialists use for falling factorials coincides with the notation used in special functions for rising factorials; see Pochhammer symbol.
  4. ^ Transformation of Series by a Variant of Stirling's Numbers, Imanuel Marx, The American Mathematical Monthly 69, #6 (June–July 1962), pp. 530–532, JSTOR 2311194.
  5. ^ Antonio Salmeri, Introduzione alla teoria dei coefficienti fattoriali, Giornale di Matematiche di Battaglini 90 (1962), pp. 44–54.
  6. ^ a b Knuth, D.E. (1992), "Two notes on notation", Amer. Math. Monthly, 99 (5): 403–422, arXiv:math/9205211, Bibcode:1992math......5211K, doi:10.2307/2325085, JSTOR 2325085, S2CID 119584305
  7. ^ Donald E. Knuth, Fundamental Algorithms, Reading, Mass.: Addison–Wesley, 1968.
  8. ^ p. 66, Donald E. Knuth, Fundamental Algorithms, 3rd ed., Reading, Mass.: Addison–Wesley, 1997.
  9. ^ Jovan Karamata, Théorèmes sur la sommabilité exponentielle et d'autres sommabilités s'y rattachant, Mathematica (Cluj) 9 (1935), pp, 164–178.
  10. ^ Sprugnoli, Renzo (1994), "Riordan arrays and combinatorial sums" (PDF), Discrete Mathematics, 132 (1–3): 267–290, doi:10.1016/0012-365X(92)00570-H, MR 1297386
  11. ^ a b Rennie, B.C.; Dobson, A.J. (1969). "On stirling numbers of the second kind". Journal of Combinatorial Theory. 7 (2): 116–121. doi:10.1016/S0021-9800(69)80045-1. ISSN 0021-9800.
  12. ^ Chan, O-Yeat; Manna, Dante (2010), "Congruences for Stirling numbers of the second kind" (PDF), Gems in Experimental Mathematics, Contemporary Mathematics, vol. 517, Providence, Rhode Island: American Mathematical Society, pp. 97–111, doi:10.1090/conm/517/10135, MR 2731094
  13. ^ L. C. Hsu, Note on an Asymptotic Expansion of the nth Difference of Zero, AMS Vol.19 NO.2 1948, pp. 273--277
  14. ^ N. M. Temme, Asymptotic Estimates of Stirling Numbers, STUDIES IN APPLIED MATHEMATICS 89:233-243 (1993), Elsevier Science Publishing.
  15. ^ L. Comtet, Advanced Combinatorics, Reidel, 1974, p. 222.
  16. ^ A. Mohr and T.D. Porter, Applications of Chromatic Polynomials Involving Stirling Numbers, Journal of Combinatorial Mathematics and Combinatorial Computing 70 (2009), 57–64.
  • Boyadzhiev, Khristo (2012). "Close encounters with the Stirling numbers of the second kind". Mathematics Magazine. 85 (4): 252–266. arXiv:1806.09468. doi:10.4169/math.mag.85.4.252. S2CID 115176876..
  • "Stirling numbers of the second kind". PlanetMath..
  • Weisstein, Eric W. "Stirling Number of the Second Kind". MathWorld.
  • Calculator for Stirling Numbers of the Second Kind
  • Set Partitions: Stirling Numbers
  • Jack van der Elsen (2005). Black and white transformations. Maastricht. ISBN 90-423-0263-1.

stirling, numbers, second, kind, mathematics, particularly, combinatorics, stirling, number, second, kind, stirling, partition, number, number, ways, partition, objects, into, empty, subsets, denoted, displaystyle, displaystyle, textstyle, left, atop, right, o. In mathematics particularly in combinatorics a Stirling number of the second kind or Stirling partition number is the number of ways to partition a set of n objects into k non empty subsets and is denoted by S n k displaystyle S n k or n k displaystyle textstyle left n atop k right 1 Stirling numbers of the second kind occur in the field of mathematics called combinatorics and the study of partitions The 15 partitions of a 4 element set ordered in a Hasse diagram There are S 4 1 S 4 4 1 7 6 1 partitions containing 1 2 3 4 sets Stirling numbers of the second kind are one of two kinds of Stirling numbers the other kind being called Stirling numbers of the first kind or Stirling cycle numbers Mutually inverse finite or infinite triangular matrices can be formed from the Stirling numbers of each kind according to the parameters n k Contents 1 Definition 2 Notation 3 Relation to Bell numbers 4 Table of values 5 Properties 5 1 Recurrence relation 5 2 Lower and upper bounds 5 3 Maximum 5 4 Parity 5 5 Simple identities 5 6 Explicit formula 5 7 Generating functions 5 8 Asymptotic approximation 6 Applications 6 1 Moments of the Poisson distribution 6 2 Moments of fixed points of random permutations 6 3 Rhyming schemes 7 Variants 7 1 Associated Stirling numbers of the second kind 7 2 Reduced Stirling numbers of the second kind 8 See also 9 ReferencesDefinition EditThe Stirling numbers of the second kind written S n k displaystyle S n k or n k displaystyle lbrace textstyle n atop k rbrace or with other notations count the number of ways to partition a set of n displaystyle n labelled objects into k displaystyle k nonempty unlabelled subsets Equivalently they count the number of different equivalence relations with precisely k displaystyle k equivalence classes that can be defined on an n displaystyle n element set In fact there is a bijection between the set of partitions and the set of equivalence relations on a given set Obviously n n 1 displaystyle left n atop n right 1 for n 0 and n 1 1 displaystyle left n atop 1 right 1 for n 1 as the only way to partition an n element set into n parts is to put each element of the set into its own part and the only way to partition a nonempty set into one part is to put all of the elements in the same part They can be calculated using the following explicit formula 2 n k 1 k i 0 k 1 i k i k i n displaystyle left n atop k right frac 1 k sum i 0 k 1 i binom k i k i n The Stirling numbers of the second kind may also be characterized as the numbers that arise when one expresses powers of an indeterminate x in terms of the falling factorials 3 x n x x 1 x 2 x n 1 displaystyle x n x x 1 x 2 cdots x n 1 In particular x 0 1 because it is an empty product In general one has k 0 n n k x k x n displaystyle sum k 0 n left n atop k right x k x n Notation EditVarious notations have been used for Stirling numbers of the second kind The brace notation n k displaystyle textstyle lbrace n atop k rbrace was used by Imanuel Marx and Antonio Salmeri in 1962 for variants of these numbers 4 5 This led Knuth to use it as shown here in the first volume of The Art of Computer Programming 1968 6 7 According to the third edition of The Art of Computer Programming this notation was also used earlier by Jovan Karamata in 1935 8 9 The notation S n k was used by Richard Stanley in his book Enumerative Combinatorics and also much earlier by many other writers 6 The notations used on this page for Stirling numbers are not universal and may conflict with notations in other sources Relation to Bell numbers EditMain article Bell number Since the Stirling number n k displaystyle left n atop k right counts set partitions of an n element set into k parts the sum B n k 0 n n k displaystyle B n sum k 0 n left n atop k right over all values of k is the total number of partitions of a set with n members This number is known as the nth Bell number Analogously the ordered Bell numbers can be computed from the Stirling numbers of the second kind via a n k 0 n k n k displaystyle a n sum k 0 n k left n atop k right 10 Table of values EditBelow is a triangular array of values for the Stirling numbers of the second kind sequence A008277 in the OEIS kn 0 1 2 3 4 5 6 7 8 9 100 11 0 12 0 1 13 0 1 3 14 0 1 7 6 15 0 1 15 25 10 16 0 1 31 90 65 15 17 0 1 63 301 350 140 21 18 0 1 127 966 1701 1050 266 28 19 0 1 255 3025 7770 6951 2646 462 36 110 0 1 511 9330 34105 42525 22827 5880 750 45 1As with the binomial coefficients this table could be extended to k gt n but those entries would all be 0 Properties EditRecurrence relation Edit Stirling numbers of the second kind obey the recurrence relation n 1 k k n k n k 1 for 0 lt k lt n displaystyle left n 1 atop k right k left n atop k right left n atop k 1 right quad mbox for 0 lt k lt n with initial conditions n n 1 for n 0 and n 0 0 n 0 for n gt 0 displaystyle left n atop n right 1 quad mbox for n geq 0 quad mbox and quad left n atop 0 right left 0 atop n right 0 quad mbox for n gt 0 mbox For instance the number 25 in column k 3 and row n 5 is given by 25 7 3 6 where 7 is the number above and to the left of 25 6 is the number above 25 and 3 is the column containing the 6 To prove this recurrence observe that a partition of the n 1 displaystyle n 1 objects into k nonempty subsets either contains the n 1 displaystyle n 1 th object as a singleton or it does not The number of ways that the singleton is one of the subsets is given by n k 1 displaystyle left n atop k 1 right since we must partition the remaining n objects into the available k 1 displaystyle k 1 subsets In the other case the n 1 displaystyle n 1 th object belongs to a subset containing other objects The number of ways is given by k n k displaystyle k left n atop k right since we partition all objects other than the n 1 displaystyle n 1 th into k subsets and then we are left with k choices for inserting object n 1 displaystyle n 1 Summing these two values gives the desired result Some more recurrences are as follows n 1 k 1 j k n n j j k displaystyle left n 1 atop k 1 right sum j k n n choose j left j atop k right n 1 k 1 j k n k 1 n j j k displaystyle left n 1 atop k 1 right sum j k n k 1 n j left j atop k right n k 1 k j 0 k j n j j displaystyle left n k 1 atop k right sum j 0 k j left n j atop j right Lower and upper bounds Edit If n 2 displaystyle n geq 2 and 1 k n 1 displaystyle 1 leq k leq n 1 then L n k n k U n k displaystyle L n k leq left n atop k right leq U n k where L n k 1 2 k 2 k 2 k n k 1 1 displaystyle L n k frac 1 2 k 2 k 2 k n k 1 1 and U n k 1 2 n k k n k displaystyle U n k frac 1 2 n choose k k n k 11 Maximum Edit For fixed n displaystyle n n k displaystyle left n atop k right has a single maximum which is attained for at most two consecutive values of k That is there is an integer K n displaystyle K n such that n 1 lt n 2 lt lt n K n displaystyle left n atop 1 right lt left n atop 2 right lt cdots lt left n atop K n right n K n n K n 1 gt gt n n displaystyle left n atop K n right geq left n atop K n 1 right gt cdots gt left n atop n right When n displaystyle n is large K n n log n displaystyle K n sim frac n log n and the maximum value of the Stirling number of second kind is log n K n n log n n log log n n O n log log n log n displaystyle log left n atop K n right n log n n log log n n O n log log n log n 11 Parity Edit Parity of Stirling numbers of the second kind The parity of a Stirling number of the second kind is equal to the parity of a related binomial coefficient n k z w mod 2 displaystyle left n atop k right equiv binom z w pmod 2 where z n k 1 2 w k 1 2 displaystyle z n left lceil displaystyle frac k 1 2 right rceil w left lfloor displaystyle frac k 1 2 right rfloor This relation is specified by mapping n and k coordinates onto the Sierpinski triangle More directly let two sets contain positions of 1 s in binary representations of results of respective expressions A i A 2 i n k B j B 2 j k 1 2 displaystyle begin aligned mathbb A sum i in mathbb A 2 i amp n k mathbb B sum j in mathbb B 2 j amp left lfloor dfrac k 1 2 right rfloor end aligned One can mimic a bitwise AND operation by intersecting these two sets n k mod 2 0 A B 1 A B displaystyle begin Bmatrix n k end Bmatrix bmod 2 begin cases 0 amp mathbb A cap mathbb B neq emptyset 1 amp mathbb A cap mathbb B emptyset end cases to obtain the parity of a Stirling number of the second kind in O 1 time In pseudocode n k mod 2 n k amp k 1 d i v 2 0 displaystyle begin Bmatrix n k end Bmatrix bmod 2 left left left n k right And left left k 1 right mathrm div 2 right right 0 right where b displaystyle left b right is the Iverson bracket The parity of a central Stirling number of the second kind 2 n n displaystyle textstyle left 2n atop n right is odd if and only if n displaystyle n is a fibbinary number a number whose binary representation has no two consecutive 1s 12 Simple identities Edit Some simple identities include n n 1 n 2 displaystyle left n atop n 1 right binom n 2 This is because dividing n elements into n 1 sets necessarily means dividing it into one set of size 2 and n 2 sets of size 1 Therefore we need only pick those two elements and n 2 2 n 1 1 displaystyle left n atop 2 right 2 n 1 1 To see this first note that there are 2n ordered pairs of complementary subsets A and B In one case A is empty and in another B is empty so 2n 2 ordered pairs of subsets remain Finally since we want unordered pairs rather than ordered pairs we divide this last number by 2 giving the result above Another explicit expansion of the recurrence relation gives identities in the spirit of the above example n 2 1 1 2 n 1 1 n 1 0 n 3 1 1 3 n 1 2 n 1 1 2 3 n 1 1 n 1 1 n 4 1 1 4 n 1 3 n 1 2 2 4 n 1 2 n 1 1 3 4 n 1 1 n 1 2 n 5 1 1 5 n 1 4 n 1 3 2 5 n 1 3 n 1 3 3 5 n 1 2 n 1 1 4 5 n 1 1 n 1 3 displaystyle begin aligned left n atop 2 right amp frac frac 1 1 2 n 1 1 n 1 0 8pt left n atop 3 right amp frac frac 1 1 3 n 1 2 n 1 frac 1 2 3 n 1 1 n 1 1 8pt left n atop 4 right amp frac frac 1 1 4 n 1 3 n 1 frac 2 2 4 n 1 2 n 1 frac 1 3 4 n 1 1 n 1 2 8pt left n atop 5 right amp frac frac 1 1 5 n 1 4 n 1 frac 3 2 5 n 1 3 n 1 frac 3 3 5 n 1 2 n 1 frac 1 4 5 n 1 1 n 1 3 8pt amp vdots end aligned These examples can be summarized by the recurrence n k k n k r 1 k 1 n r k r displaystyle left lbrace begin matrix n k end matrix right rbrace frac k n k sum r 1 k 1 frac left lbrace begin matrix n r end matrix right rbrace k r Explicit formula Edit The Stirling numbers of the second kind are given by the explicit formula n k 1 k j 0 k 1 k j k j j n j 1 k 1 k j j n 1 j 1 k j displaystyle left n atop k right frac 1 k sum j 0 k 1 k j k choose j j n sum j 1 k 1 k j frac j n 1 j 1 k j This can be derived by using inclusion exclusion to count the number of surjections from n to k and using the fact that the number of such surjections is k n k textstyle k left n atop k right Additionally this formula is a special case of the kth forward difference of the monomial x n displaystyle x n evaluated at x 0 D k x n j 0 k 1 k j k j x j n displaystyle Delta k x n sum j 0 k 1 k j k choose j x j n Because the Bernoulli polynomials may be written in terms of these forward differences one immediately obtains a relation in the Bernoulli numbers B m 0 k 0 m 1 k k k 1 m k displaystyle B m 0 sum k 0 m frac 1 k k k 1 left m atop k right Generating functions Edit For a fixed integer n the ordinary generating function for the Stirling numbers of the second kind n 0 n 1 displaystyle left n atop 0 right left n atop 1 right ldots is given by k 0 n n k x k T n x displaystyle sum k 0 n left n atop k right x k T n x where T n x displaystyle T n x are Touchard polynomials If one sums the Stirling numbers against the falling factorial instead one can show the following identities among others k 0 n n k x k x n displaystyle sum k 0 n left n atop k right x k x n and k 1 n 1 n 1 k x 1 k 1 x n displaystyle sum k 1 n 1 left n 1 atop k right x 1 k 1 x n For a fixed integer k the Stirling numbers of the second kind 0 k 1 k displaystyle left 0 atop k right left 1 atop k right ldots have rational ordinary generating function n k n k x n k r 1 k 1 1 r x 1 k 1 x k 1 1 x k 1 displaystyle sum n k infty left n atop k right x n k prod r 1 k frac 1 1 rx frac 1 k 1 x k 1 binom frac 1 x k 1 and have exponential generating function given by n k n k x n n e x 1 k k displaystyle sum n k infty left n atop k right frac x n n frac e x 1 k k A mixed bivariate generating function for the Stirling numbers of the second kind is 0 k n n k x n n y k e y e x 1 displaystyle sum 0 leq k leq n left n atop k right frac x n n y k e y e x 1 Asymptotic approximation Edit For fixed value of k displaystyle k the asymptotic value of the Stirling numbers of the second kind as n displaystyle n rightarrow infty is given by n k k n k displaystyle left n atop k right sim frac k n k On the other side if k o n displaystyle k o sqrt n where o denotes the little o notation then n n k n k 2 k 2 k k 1 1 3 2 k 2 k n k 1 18 4 k 4 k 2 3 k n k 2 displaystyle left n atop n k right sim frac n k 2k 2 k k left 1 frac 1 3 frac 2k 2 k n k frac 1 18 frac 4k 4 k 2 3k n k 2 cdots right 13 A uniformly valid approximation also exists for all k such that 1 lt k lt n one has n k v 1 v 1 G v 1 v G n k k n n k e k 1 G n k displaystyle left n atop k right sim sqrt frac v 1 v 1 G left frac v 1 v G right n k frac k n n k e k 1 G left n atop k right where v n k displaystyle v n k and G 0 1 displaystyle G in 0 1 is the unique solution to G v e G v displaystyle G ve G v 14 Relative error is bounded by about 0 066 n displaystyle 0 066 n Applications EditMoments of the Poisson distribution Edit If X is a random variable with a Poisson distribution with expected value l then its n th moment is E X n k 0 n n k l k displaystyle E X n sum k 0 n left n atop k right lambda k In particular the nth moment of the Poisson distribution with expected value 1 is precisely the number of partitions of a set of size n i e it is the nth Bell number this fact is Dobinski s formula Moments of fixed points of random permutations Edit Let the random variable X be the number of fixed points of a uniformly distributed random permutation of a finite set of size m Then the nth moment of X is E X n k 1 m n k displaystyle E X n sum k 1 m left n atop k right Note The upper bound of summation is m not n In other words the nth moment of this probability distribution is the number of partitions of a set of size n into no more than m parts This is proved in the article on random permutation statistics although the notation is a bit different Rhyming schemes Edit The Stirling numbers of the second kind can represent the total number of rhyme schemes for a poem of n lines S n k displaystyle S n k gives the number of possible rhyming schemes for n lines using k unique rhyming syllables As an example for a poem of 3 lines there is 1 rhyme scheme using just one rhyme aaa 3 rhyme schemes using two rhymes aab aba abb and 1 rhyme scheme using three rhymes abc Variants EditAssociated Stirling numbers of the second kind Edit An r associated Stirling number of the second kind is the number of ways to partition a set of n objects into k subsets with each subset containing at least r elements 15 It is denoted by S r n k displaystyle S r n k and obeys the recurrence relation S r n 1 k k S r n k n r 1 S r n r 1 k 1 displaystyle S r n 1 k k S r n k binom n r 1 S r n r 1 k 1 The 2 associated numbers sequence A008299 in the OEIS appear elsewhere as Ward numbers and as the magnitudes of the coefficients of Mahler polynomials Reduced Stirling numbers of the second kind Edit Denote the n objects to partition by the integers 1 2 n Define the reduced Stirling numbers of the second kind denoted S d n k displaystyle S d n k to be the number of ways to partition the integers 1 2 n into k nonempty subsets such that all elements in each subset have pairwise distance at least d That is for any integers i and j in a given subset it is required that i j d displaystyle i j geq d It has been shown that these numbers satisfy S d n k S n d 1 k d 1 n k d displaystyle S d n k S n d 1 k d 1 n geq k geq d hence the name reduced 16 Observe both by definition and by the reduction formula that S 1 n k S n k displaystyle S 1 n k S n k the familiar Stirling numbers of the second kind See also EditBell number the number of partitions of a set with n members Stirling numbers of the first kind Stirling polynomials Twelvefold way Learning materials related to Partition related number triangles at WikiversityReferences Edit Ronald L Graham Donald E Knuth Oren Patashnik 1988 Concrete Mathematics Addison Wesley Reading MA ISBN 0 201 14236 8 p 244 Stirling Number of the Second Kind Confusingly the notation that combinatorialists use for falling factorials coincides with the notation used in special functions for rising factorials see Pochhammer symbol Transformation of Series by a Variant of Stirling s Numbers Imanuel Marx The American Mathematical Monthly 69 6 June July 1962 pp 530 532 JSTOR 2311194 Antonio Salmeri Introduzione alla teoria dei coefficienti fattoriali Giornale di Matematiche di Battaglini 90 1962 pp 44 54 a b Knuth D E 1992 Two notes on notation Amer Math Monthly 99 5 403 422 arXiv math 9205211 Bibcode 1992math 5211K doi 10 2307 2325085 JSTOR 2325085 S2CID 119584305 Donald E Knuth Fundamental Algorithms Reading Mass Addison Wesley 1968 p 66 Donald E Knuth Fundamental Algorithms 3rd ed Reading Mass Addison Wesley 1997 Jovan Karamata Theoremes sur la sommabilite exponentielle et d autres sommabilites s y rattachant Mathematica Cluj 9 1935 pp 164 178 Sprugnoli Renzo 1994 Riordan arrays and combinatorial sums PDF Discrete Mathematics 132 1 3 267 290 doi 10 1016 0012 365X 92 00570 H MR 1297386 a b Rennie B C Dobson A J 1969 On stirling numbers of the second kind Journal of Combinatorial Theory 7 2 116 121 doi 10 1016 S0021 9800 69 80045 1 ISSN 0021 9800 Chan O Yeat Manna Dante 2010 Congruences for Stirling numbers of the second kind PDF Gems in Experimental Mathematics Contemporary Mathematics vol 517 Providence Rhode Island American Mathematical Society pp 97 111 doi 10 1090 conm 517 10135 MR 2731094 L C Hsu Note on an Asymptotic Expansion of the nth Difference of Zero AMS Vol 19 NO 2 1948 pp 273 277 N M Temme Asymptotic Estimates of Stirling Numbers STUDIES IN APPLIED MATHEMATICS 89 233 243 1993 Elsevier Science Publishing L Comtet Advanced Combinatorics Reidel 1974 p 222 A Mohr and T D Porter Applications of Chromatic Polynomials Involving Stirling Numbers Journal of Combinatorial Mathematics and Combinatorial Computing 70 2009 57 64 Boyadzhiev Khristo 2012 Close encounters with the Stirling numbers of the second kind Mathematics Magazine 85 4 252 266 arXiv 1806 09468 doi 10 4169 math mag 85 4 252 S2CID 115176876 Stirling numbers of the second kind PlanetMath Weisstein Eric W Stirling Number of the Second Kind MathWorld Calculator for Stirling Numbers of the Second Kind Set Partitions Stirling Numbers Jack van der Elsen 2005 Black and white transformations Maastricht ISBN 90 423 0263 1 Retrieved from https en wikipedia org w index php title Stirling numbers of the second kind amp oldid 1135898932, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.