The Stirling numbers of the first and second kind, named after James Stirling , are used in combinatorics and theoretical computer science .
Designation and notation
With reference to a work by Stirling published as early as 1730, in which these numbers are examined, Niels Nielsen introduced the term "Stirling numbers of the first and second kind" in the handbook of the theory of the gamma function in 1906 ("nombres de Stirling" in an article published in 1904 ).
Neither the designation as Stirling numbers nor uniform notations have established themselves. In this article, Stirling numbers of the first kind are denoted with a lower case or written one above the other in square brackets, Stirling numbers of the second type are denoted with a capital letter or written above one another in curly brackets:
-
.
The bracket notation , also called Karamata notation , was introduced in 1935 by Jovan Karamata in analogy to the binomial coefficients , in 1992 Donald Knuth advocated this notation with a detailed excursus on the Stirling numbers.
Stirling numbers of the first kind
The Stirling number of the first kind is the number of permutations of a -elemental set that have exactly cycles . According to another definition that is often used, it is instead referred to as the Stirling number of the first kind.
example
The set with elements can be divided into cycles in the following ways :
So is . For further examples see cycle type .
properties
The explicit formulas apply
and the recursive formula
with the initial conditions
-
and
-
for or
Other special values are
-
Follow A000254 in OEIS
-
Follow A000399 in OEIS
-
Follow A001303 in OEIS
-
Follow A000914 in OEIS
all wherein the th harmonic number and is a generalized harmonic number.
In general, as a polynomial in the degree be considered. It has the leading coefficient and contains the factors n , n −1, ..., n - k for all and the factors n 2 and ( n −1) 2 for odd numbers . The polynomial
in of degrees is also known as the Stirling polynomial , see also section Stirling polynomials .
Generating functions are
-
and and
with the increasing factorial
Is a prime number , then for by divisible and just by divisible ( Nielsen 1893). The Wolstenholme's theorem is the special case
Since the number of all permutations is a -element set, it follows
and in particular directly from the definition of
For each there is such a that
and or ( Erdős 1953).
For each , the sequence is strictly logarithmically concave , that is, for
The asymptotic behavior of assuming is
with the Euler-Mascheroni constant
Stirling numbers of the second kind
The Stirling number of the second kind is the number of -element partitions of a -element set, i.e. the number of possibilities to divide a -element set into non-empty disjoint subsets.
is also the number of ways to divide distinguishable balls into indistinguishable compartments so that at least one ball is in each compartment. If the subjects are distinguishable, then one obtains possibilities; this is also the number of surjective mappings of a -element set to a -element set.
example
The set with elements can be broken down into non-empty disjoint subsets in the following ways :
So is .
properties
The explicit formulas apply
-
and
with integer nonnegative and the recursive formula
with the initial conditions
-
and
-
for or
Other special values are
-
Follow A000392 in OEIS
-
Follow A001297 in OEIS
-
Follow A001296 in OEIS
for all
Can also be understood as a polynomial in degrees . It has the leading coefficient and contains the factors n , n −1,…, n - k for all and the factors ( n - k ) 2 and ( n - k +1) 2 for odd numbers . The same Stirling polynomial -th degree is obtained as with the Stirling numbers of the first kind using
Generating functions are
-
and and
-
and
with the falling factorial
Is a prime number, then for is divisible by.
Since Bell's number is the number of all partitions in a -element set, the following applies
The Bernoulli number β n is obtained as the alternating sum
With the help of the recursion formula one can show that for every one exists such that
and or applies. It is an open question whether there exists one for which the case occurs.
For each , the sequence is strictly logarithmically concave , that is, for
Relationship between the Stirling numbers of the first and second kind
From relationships
-
and
which are also often used to define the Stirling numbers of the second and first kind, it follows that these are the coefficients of mutually inverse linear transformations, the Stirling transformation and the inverse Stirling transformation . This means that the lower triangular matrices and are mutually inverse matrices :
with the Kronecker delta for and for
The Stirling numbers of the first and second kind can each be represented by the other ( Schlömilch 1852):
-
and
The Stirling numbers can clearly be continued on negative whole indices and that the recursion formulas
-
and
apply in general and for One receives the duality valid
for all whole numbers and
the recursion formulas, the two into one another, also for one as polynomials in Sets in the conceived and for negative whole numbers, one obtains the same Continued negative integer indices and the polynomials for the duality
Analogy to the binomial coefficients
The following applies to the binomial coefficients
The Karamata notation emphasizes the analogy:
Accordingly, the Stirling numbers can be arranged in a triangle scheme similar to Pascal's triangle and calculated line by line.
Triangle for Stirling numbers of the first kind (first line, first column, sequence A130534 in OEIS ):
1
1 1
2 3 1
6 11 6 1
24 50 35 10 1
120 274 225 85 15 1
720 1764 1624 735 175 21 1
5040 13068 13132 6769 1960 322 28 1
40320 109584 118124 67284 22449 4536 546 36 1
... ... ... ... ... ... ... ... ... 1
Triangle for Stirling numbers of the second kind (first line, first column, sequence A008277 in OEIS ):
1
1 1
1 3 1
1 7 6 1
1 15 25 10 1
1 31 90 65 15 1
1 63 301 350 140 21 1
1 127 966 1701 1050 266 28 1
1 255 3025 7770 6951 2646 462 36 1
1 ... ... ... ... ... ... ... ... 1
As a further analogy, there are injective and surjective functions with -elementary definition and -elementary target sets .
Stirling polynomials
The Stirling polynomials introduced in the section Stirling numbers of the first kind are also used by the generating functions
-
and
which are obtained by generalizing generating functions of and . According to another definition, the polynomials and are called Stirling polynomials. The polynomials ψ 0 ( x ), ψ 1 ( x ),…, ψ 6 ( x ) are
-
-
and special values for are
-
and
with the Bernoulli number β k +1 . The polynomials can be calculated with the formulas
-
and
with the through for j ∉ {0, 1,…, k −1} and
-
see episode A111999 in OEIS ,
and that by C̅ 1,0 = 1, C̅ k , j = 0 for j ∉ {0, 1,…, k −1} and
recursively defined integer coefficients. For one receives
-
and
This calculation of and is particularly efficient for large and small .
literature
-
Niels Nielsen : Faculties and faculty coefficients , Chapter 5 in the manual of the theory of the gamma function , BG Teubner, Leipzig 1906, pp. 66–78 (conversion and ; in the Internet archive , ditto , ditto ; yearbook report )
-
Leonard Eugene Dickson : History of the theory of numbers. Volume I: Divisibility and primality , Carnegie Institution, Washington 1919, especially pp. 95-103 (English; conversion and ; in the Internet archive ; yearbook report )
-
Károly Jordan (Charles Jordan): Stirling's numbers , Chapter 4 in Calculus of finite differences , Chelsea, Budapest 1939, 2nd edition New York 1947 1960, 3rd edition 1965 1979, ISBN 0-8284-0033-4 , p. 142– 229 (English; conversion and )
-
Milton Abramowitz , Irene A. Stegun (Ed.): Handbook of mathematical functions with formulas, graphs, and mathematical tables (10th edition), US Department of Commerce / National Bureau of Standards, 1972, pp. 822, 824-825, 833-835 (English; at ConvertIt.com ; at SFU Burnaby ; Zentralblatt review )
-
Louis Comtet : Advanced combinatorics: the art of finite and infinite expansions , D. Reidel, Dordrecht 1974, ISBN 90-277-0441-4 , pp. 204–229 (English)
-
Martin Aigner : Combinatorial Theory. Springer, Berlin 1997, ISBN 3-540-61787-6 (English; new edition of the 1979 edition; Zentralblatt review )
-
Ronald L. Graham , Donald E. Knuth , Oren Patashnik : Concrete mathematics: a foundation for computer science , Addison-Wesley, Reading 1988, 2nd edition 1994, ISBN 0-201-55802-5 , pp. 257-266 (English ; Knuth's website for the book with errata: Concrete Mathematics, Second Edition ; Zentralblatt review )
Individual evidence
-
↑ James Stirling : Methodus Differentialis: sive Tractatus de Summatione et Interpolatione Serierum Infinitarum , G. Strahan, Londini (London) 1730 (Latin; table of the Stirling numbers of the second kind on p. 8 , the Stirling numbers of the first kind on p. 11 )
-
^ Nielsen: Faculties and faculty coefficients , 1906, pp. 66–67
-
↑ Niels Nielsen : Recherches sur les polynomes et les nombres de Stirling , Annali di matematica pura ed applicata 10, 1904, pp. 287-318 (French)
-
^ Henry W. Gould : Once again the Stirling numbers , annual report of DMV 73, 1971/72, pp. 149–152
-
↑ a b Donald E. Knuth : Two notes on notation , The American Mathematical Monthly 99, 1992, pp. 403-422 (English; Zentralblatt review )
-
↑ Jovan Karamata : Théorèmes sur la sommabilité exponentielle et d'autres sommabilités s'y rattachant (May 21, 1932), Mathematica (Cluj) 9, 1935, pp. 164–178 (French; Zentralblatt review )
-
↑ a b Nielsen: Faculties and faculty coefficients , 1906, p. 72 ff.
-
↑ Comtet: Advanced combinatorics , 1974, p. 218
-
↑ Niels Nielsen: Om Potenssummer af hele Tal , Nyt Tidsskrift for Mathematik B 4, 1893, pp. 1–10 (Danish; Formula 17 on p. 4 with ; yearbook report )
-
↑ Paul Erdős : On a conjecture of Hammersley , Journal of the London Mathematical Society 28, 1953, pp. 232-236 (English; only the proof for is not elementary; Zentralblatt review )
-
^ A b Elliott H. Lieb : Concavity properties and a generating function for Stirling numbers , Journal of Combinatorial Theory 5, September 1968, pp. 203-206 (English; Zentralblatt review )
-
↑ Comtet: Advanced combinatorics , 1974, p. 219
-
^ E. Rodney Canfield, Carl Pomerance : On the problem of uniqueness for the maximum Stirling number (s) of the second kind , Integers 2, 2002, A01 (English; corrigendum ; Zentralblatt review )
-
↑ Oskar Schlömilch : Recherches sur les coefficients des facultés analytiques , Journal for pure and applied mathematics 44, 1852, pp. 344–355 (French; Formula 14 on p. 346 with and )
-
↑ Ira Gessel, Richard P. Stanley : Stirling polynomials ( PDF file, 534 kB), Journal of combinatorial theory A 24, 1978, pp. 24–33 (English; Zentralblatt review )
-
↑ Antal E. Fekete : Apropos Two notes on notation , The American Mathematical Monthly 101, October 1994, pp. 771-778 (English; Zentralblatt review )
-
↑ Jordan: Stirling's numbers , 1979, pp. 147-153
-
↑ Jordan: Stirling's numbers , 1979, pp. 168-173
Web links