Hellenica World


In mathematics, Stirling numbers arise in a variety of combinatorics problems. They are named after James Stirling, who introduced them in the 18th century. Two different sets of numbers bear this name: the Stirling numbers of the first kind and the Stirling numbers of the second kind.


Several different notations for the Stirling numbers are in use. Stirling numbers of the first kind are written with a small s, and those of the second kind with a large S (Abramowitz and Stegun use an uppercase S and a blackletter S respectively). Common notations are:

\( s(n,k)\text{ (signed)}\, \)

\( \left[{n \atop k}\right]=c(n,k)=|s(n,k)|\text{ (unsigned)}\, \)

\( \left\{\begin{matrix} n \\ k \end{matrix}\right\}=S(n,k)= S_n^{(k)} .\, \)

The notation of using brackets and braces, in analogy to the binomial coefficients, was introduced in 1935 by Jovan Karamata and promoted later by Donald Knuth; it is referred to as Karamata notation. (The bracket notation conflicts with a common notation for the Gaussian coefficients.) The mathematical motivation for this type of notation, as well as additional Stirling number formulae, may be found on the page for Stirling numbers and exponential generating functions.
Stirling numbers of the first kind
Main article: Stirling numbers of the first kind

Unsigned Stirling numbers of the first kind

\( c(n,k)=\left[{n \atop k}\right]=|s(n,k)|=(-1)^{n-k} s(n,k) \)

(with a lower-case "s") count the number of permutations of n elements with k disjoint cycles.

Stirling numbers of the first kind (without the qualifying adjective unsigned) are the coefficients in the expansion

\( (x)_{n} = \sum_{k=0}^n s(n,k) x^k. \)

where (x)_{n} is the Pochhammer symbol for the falling factorial,

\( (x)_{n}=x(x-1)(x-2)\cdots(x-n+1). \)

Note that (x)0 = 1 because it is an empty product. Combinatorialists also sometimes use the notation \( x^{\underline{n\!}} \) for the falling factorial, and \( x^{\overline{n\!}} \) for the rising factorial.[1]

(Confusingly, the Pochhammer symbol that many use for falling factorials is used in special functions for rising factorials.)
Stirling numbers of the second kind
Main article: Stirling numbers of the second kind

Stirling numbers of the second kind count the number of ways to partition a set of n elements into k nonempty subsets. They are denoted by S(n,k) or \textstyle \lbrace{n\atop k}\rbrace.[2] The sum

\( \sum_{k=0}^n \left\{\begin{matrix} n \\ k \end{matrix}\right\} = B_n \)

is the nth Bell number. Using falling factorials, we can also characterize the Stirling numbers of the second kind by

\( \sum_{k=0}^n \left\{\begin{matrix} n \\ k \end{matrix}\right\}(x)_k=x^n. \)

The Lah number, are sometimes being referred as Stirling numbers of the third kind. for example see.
Inversion relationships

The Stirling numbers of the first and second kind can be considered to be inverses of one another:

\( \sum_{n=0}^{\max\{j,k\}} (-1)^{n-k} \left[{n\atop j}\right] \left\{{k\atop n}\right\} = \delta_{jk} \)


\( \sum_{n=0}^{\max\{j,k\}} (-1)^{n-k} \left\{{n\atop j}\right\} \left[{k\atop n}\right] = \delta_{jk} \)

where \( \delta_{jk} \) is the Kronecker delta. These two relationships may be understood to be matrix inverses. That is, let s be the lower triangular matrix of Stirling numbers of first kind, so that it has matrix elements

\( [s]_{nk}=s(n,k)=(-1)^{n-k} \left[{n\atop k}\right].\, \)

Then, the inverse of this matrix is S, the lower triangular matrix of Stirling numbers of second kind. Symbolically, one writes

\( s^{-1} = S\, \)

where the matrix elements of S are

\( [S]_{nk}=S(n,k)=\left\{{n\atop k}\right\}. \)

Note that although s and S are infinite, this works for finite matrices by only considering Stirling numbers up to some number N.

A generalization of the inversion relationship gives the link with Lah numbers L(n,k)

\( (-1)^n L(n,k) = \sum_{z}(-1)^{z} s(n,z)\left\{{z\atop k}\right\}, \)

with the conventions L(0,0)=1 and L(n , k )=0 if k>n.
Symmetric formulae

Abramowitz and Stegun give the following symmetric formulae that relate the Stirling numbers of the first and second kind.

\( \left[{n\atop k}\right] = (-1)^{n-k} \sum_{j=0}^{n-k} (-1)^j {n-1+j \choose n-k+j} {2n-k \choose n-k-j} \left\{{n-k+j\atop j}\right\} \)


\( \left\{{n\atop k}\right\} = (-1)^{n-k} \sum_{j=0}^{n-k} (-1)^j {n-1+j \choose n-k+j} {2n-k \choose n-k-j} \left[{n-k+j\atop j}\right]. \)

See also

Bell polynomials
Cycles and fixed points
Lah number
Pochhammer symbol
Polynomial sequence
Stirling transform
Touchard polynomials


^ Aigner, Martin (2007). "Section 1.2 - Subsets and Binomial Coefficients". A Course In Enumeration. Springer. pp. 561. ISBN 3-540-39032-4.
^ Ronald L. Graham, Donald E. Knuth, Oren Patashnik (1988) Concrete Mathematics, Addison-Wesley, Reading MA. ISBN 0-201-14236-8, p. 244.

M. Abramowitz, I. Stegun (Eds.). Stirling Numbers of the First Kind., §24.1.3 in Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th printing. New York: Dover, p. 824, 1972.
Milton Abramowitz and Irene A. Stegun, eds., Handbook of Mathematical Functions (with Formulas, Graphs and Mathematical Tables), U.S. Dept. of Commerce, National Bureau of Standards, Applied Math. Series 55, 1964, 1046 pages (9th Printing: November 1970) - Combinatorial Analysis, Table 24.4, Stirling Numbers of the Second Kind (author: Francis L. Miksa), p. 835.
D.E. Knuth, Two notes on notation (TeX source).
Louis Comtet, Valeur de s(n, k), Analyse combinatoire, Tome second (page 51), Presses universitaires de France, 1970.
Louis Comtet, Advanced Combinatorics: The Art of Finite and Infinite Expansions, Reidel Publishing Company, Dordrecht-Holland/Boston-U.S.A., 1974.
André F. Labossière, Sobalian Coefficients => ... s(n,k) as an explicit formula of first echelon ....
Stirling numbers of the first kind, s(n,k), PlanetMath.org..
Stirling numbers of the second kind, S(n,k), PlanetMath.org..
Sloane's A008275 : Stirling numbers of first kind. The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
Sloane's A008277 : Stirling numbers of 2nd kind. The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
Francis L. Miksa (1901–1975), Stirling numbers of the first kind, "27 leaves reproduced from typewritten manuscript on deposit in the UMT File", Mathematical Tables and Other Aids to Computation, vol. 10, no. 53, January 1956, pp. 37–38 (Reviews and Descriptions of Tables and Books, 7[I]).
Dragoslav S. Mitrinović, Sur les nombres de Stirling de première espèce et les polynômes de Stirling, AMS 11B73_05A19, Publications de la Faculté d'Electrotechnique de l'Université de Belgrade, Série Mathématiques et Physique (ISSN 0522-8441), no. 23, 1959 (5.V.1959), pp. 1–20.
Victor Adamchik, "On Stirling Numbers and Euler Sums", Journal of Computational and Applied Mathematics 79 (1997) pp. 119–130.
Arthur T. Benjamin, Gregory O. Preston, Jennifer J. Quinn, A Stirling Encounter with Harmonic Numbers, (2002) Mathematics Magazine, 75 (2) pp 95–103.
J. M. Sixdeniers, K. A. Penson, A. I. Solomon, Extended Bell and Stirling Numbers From Hypergeometric Exponentiation (2001), Journal of Integer Sequences, 4, Article 01.1.4.
Hsien-Kuei Hwang (1995). "Asymptotic Expansions for the Stirling Numbers of the First Kind". Journal of Combinatorial Theory, Series A 71 (2): 343–351. doi:10.1016/0097-3165(95)90010-1.
John J. O'Connor, Edmund F. Robertson, James Stirling (1692–1770), (September 1998).

When k = n or n−1 we saw in the previous section that Vk(Fn) is a principal homogeneous space, and therefore diffeomorphic to the corresponding classical group. These are listed in the table at the right.

Mathematics Encyclopedia

Retrieved from "http://en.wikipedia.org/"
All text is available under the terms of the GNU Free Documentation License