HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, especially in
combinatorics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many a ...
, Stirling numbers of the first kind arise in the study of permutations. In particular, the
Stirling number In mathematics, Stirling numbers arise in a variety of analytic and combinatorial problems. They are named after James Stirling, who introduced them in a purely algebraic setting in his book ''Methodus differentialis'' (1730). They were rediscov ...
s of the first kind count
permutation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or pro ...
s according to their number of cycles (counting fixed points as cycles of length one). The Stirling numbers of the first and second kind can be understood as inverses of one another when viewed as triangular matrices. This article is devoted to specifics of Stirling numbers of the first kind. Identities linking the two kinds appear in the article on Stirling numbers in general.


Definitions

The original definition of Stirling numbers of the first kind was algebraic: they are the coefficients s(n,k) in the expansion of the
falling factorial In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
:(x)_n = x(x-1)(x-2)\cdots(x-n+1) into powers of the variable x: :(x)_n = \sum_^n s(n,k) x^k, For example, (x)_3 = x(x-1)(x - 2) = 1x^3 - 3x^2 + 2x, leading to the values s(3, 3) = 1, s(3, 2) = -3, and s(3, 1) = 2. Subsequently, it was discovered that the absolute values , s(n,k), of these numbers are equal to the number of
permutation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or pro ...
s of certain kinds. These absolute values, which are known as unsigned Stirling numbers of the first kind, are often denoted c(n,k) or \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
/math>. They may be defined directly to be the number of
permutation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or pro ...
s of n elements with k disjoint cycles. For example, of the 3! = 6 permutations of three elements, there is one permutation with three cycles (the
identity permutation In mathematics, a permutation group is a group ''G'' whose elements are permutations of a given set ''M'' and whose group operation is the composition of permutations in ''G'' (which are thought of as bijective functions from the set ''M'' to i ...
, given in one-line notation by 123 or in
cycle notation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or p ...
by (1)(2)(3)), three permutations with two cycles (132 = (1)(23), 213 = (12)(3), and 321 = (13)(2)) and two permutations with one cycle (312 = (132) and 231 = (123)). Thus, \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 1, \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 3 and \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 2. These can be seen to agree with the previous calculation of s(n, k) for n = 3. It was observed by
Alfréd Rényi Alfréd Rényi (20 March 1921 – 1 February 1970) was a Hungarian mathematician known for his work in probability theory, though he also made contributions in combinatorics, graph theory, and number theory. Life Rényi was born in Budapest to A ...
that the unsigned Stirling number \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
/math> also count the number of permutations of size n with k left-to-right maxima. The unsigned Stirling numbers may also be defined algebraically, as the coefficients of the
rising factorial In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
: : x^ = x(x+1)\cdots(x+n-1)=\sum_^n \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
x^k. The notations used on this page for Stirling numbers are not universal, and may conflict with notations in other sources. (The square bracket notation \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
/math> is also common notation for the
Gaussian coefficient In mathematics, the Gaussian binomial coefficients (also called Gaussian coefficients, Gaussian polynomials, or ''q''-binomial coefficients) are ''q''-analogs of the binomial coefficients. The Gaussian binomial coefficient, written as \binom n ...
s.)


Definition by permutation

\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
/math> can be defined as the number of permutations on n elements with k cycles. The image at right shows that \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 11: the
symmetric group In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric group ...
on 4 objects has 3 permutations of the form : (\bullet \bullet)(\bullet \bullet) (having 2 orbits, each of size 2), and 8 permutations of the form : (\bullet\bullet\bullet)(\bullet) (having 1 orbit of size 3 and 1 orbit of size 1).


Signs

The signs of the (signed) Stirling numbers of the first kind are predictable and depend on the parity of . In particular, :s(n,k) = (-1)^ \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
.


Recurrence relation

The unsigned Stirling numbers of the first kind can be calculated by the
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
: \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= n \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
+ \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
/math> for k > 0, with the initial conditions :\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 1 \quad\mbox\quad \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
0 for n>0. It follows immediately that the (signed) Stirling numbers of the first kind satisfy the recurrence : s(n + 1, k) = -n \cdot s(n, k) + s(n, k - 1).


Table of values

Below is a
triangular array In mathematics and computing, a triangular array of numbers, polynomials, or the like, is a doubly indexed sequence in which each row is only as long as the row's own index. That is, the ''i''th row contains only ''i'' elements. Examples Notable ...
of unsigned values for the Stirling numbers of the first kind, similar in form to
Pascal's triangle In mathematics, Pascal's triangle is a triangular array of the binomial coefficients that arises in probability theory, combinatorics, and algebra. In much of the Western world, it is named after the French mathematician Blaise Pascal, although o ...
. These values are easy to generate using the recurrence relation in the previous section.


Properties


Simple identities

Note that although :\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 1 we have \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 0 if ''n'' > 0 and :\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 0 if ''k'' > 0, or more generally \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 0 if ''k'' > ''n''. Also :\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= (n-1)!, \quad \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= 1, \quad \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= , and :\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= \frac (3n-1) \quad\mbox\quad\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= . Similar relationships involving the Stirling numbers hold for the
Bernoulli polynomials In mathematics, the Bernoulli polynomials, named after Jacob Bernoulli, combine the Bernoulli numbers and binomial coefficients. They are used for series expansion of functions, and with the Euler–MacLaurin formula. These polynomials occur ...
. Many relations for the Stirling numbers shadow similar relations on the
binomial coefficient In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
s. The study of these 'shadow relationships' is termed
umbral calculus In mathematics before the 1970s, the term umbral calculus referred to the surprising similarity between seemingly unrelated polynomial equations and certain "shadowy" techniques used to "prove" them. These techniques were introduced by John Blis ...
and culminates in the theory of Sheffer sequences. Generalizations of the Stirling numbers of both kinds to arbitrary complex-valued inputs may be extended through the relations of these triangles to the Stirling convolution polynomials. Note that all the combinatorial proofs above use either binomials or multinomials of n. Therefore if p is prime, then: p, \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
/math> for 1.


Other relations


Expansions for fixed ''k''

Since the Stirling numbers are the coefficients of a polynomial with roots 0, 1, ..., , one has by
Vieta's formulas In mathematics, Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots. They are named after François Viète (more commonly referred to by the Latinised form of his name, "Franciscus Vieta"). Basic formula ...
that \left \begin n \\ n - k \end \right= \sum_ i_1 i_2 \cdots i_k. In other words, the Stirling numbers of the first kind are given by elementary symmetric polynomials evaluated at 0, 1, ..., . In this form, the simple identities given above take the form \left \begin n \\ n - 1 \end \right = \sum_^ i = \binom, \left \begin n \\ n - 2 \end \right = \sum_^\sum_^ ij = \frac \binom, \left \begin n \\ n - 3 \end \right = \sum_^\sum_^\sum_^ ijk = \binom \binom, and so on. One may produce alternative forms for the Stirling numbers of the first kind with a similar approach preceded by some algebraic manipulation: since :(x+1)(x+2) \cdots (x+n-1) = (n-1)! \cdot (x+1) \left(\frac+1\right) \cdots \left(\frac+1\right), it follows from Newton's formulas that one can expand the Stirling numbers of the first kind in terms of
generalized harmonic number In mathematics, the -th harmonic number is the sum of the reciprocals of the first natural numbers: H_n= 1+\frac+\frac+\cdots+\frac =\sum_^n \frac. Starting from , the sequence of harmonic numbers begins: 1, \frac, \frac, \frac, \frac, \d ...
s. This yields identities like :\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= (n-1)!\; H_, :\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= \frac (n-1)! \left (H_)^2 - H_^ \right/math> :\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= \frac(n-1)! \left (H_)^3 - 3H_H_^+2H_^ \right where ''H''''n'' is the
harmonic number In mathematics, the -th harmonic number is the sum of the reciprocals of the first natural numbers: H_n= 1+\frac+\frac+\cdots+\frac =\sum_^n \frac. Starting from , the sequence of harmonic numbers begins: 1, \frac, \frac, \frac, \frac, \do ...
H_n = \frac + \frac + \ldots + \frac and ''H''''n''(''m'') is the generalized harmonic number H_n^ = \frac + \frac + \ldots + \frac. These relations can be generalized to give :\frac \left begin n \\ k+1 \end \right= \sum_^ \sum_^ \cdots \sum_^ \frac = \frac where ''w''(''n'', ''m'') is defined recursively in terms of the generalized harmonic numbers by :w(n, m) = \delta_ + \sum_^ (1-m)_k H_^ w(n, m-1-k). (Here ''δ'' is the Kronecker delta function and (m)_k is the
Pochhammer symbol In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
.) For fixed n \geq 0 these weighted harmonic number expansions are generated by the generating function :\frac \left begin n+1 \\ k \end \right= ^kexp\left(\sum_ \frac x^m\right), where the notation ^k/math> means extraction of the coefficient of x^k from the following
formal power series In mathematics, a formal series is an infinite sum that is considered independently from any notion of convergence, and can be manipulated with the usual algebraic operations on series (addition, subtraction, multiplication, division, partial s ...
(see the non-exponential
Bell polynomials In combinatorial mathematics, the Bell polynomials, named in honor of Eric Temple Bell, are used in the study of set partitions. They are related to Stirling and Bell numbers. They also occur in many applications, such as in the Faà di Bruno ...
and section 3 of ). More generally, sums related to these weighted harmonic number expansions of the Stirling numbers of the first kind can be defined through generalized zeta series transforms of generating functions. One can also "invert" the relations for these Stirling numbers given in terms of the k-order harmonic numbers to write the integer-order generalized harmonic numbers in terms of weighted sums of terms involving the Stirling numbers of the first kind. For example, when k = 2, 3 the second-order and third-order harmonic numbers are given by :(n!)^2 \cdot H_n^ = \left \begin n+1 \\ 2 \end \right2 - 2 \left \begin n+1 \\ 1 \end \right\left \begin n+1 \\ 3 \end \right/math> :(n!)^3 \cdot H_n^ = \left \begin n+1 \\ 2 \end \right3 - 3 \left \begin n+1 \\ 1 \end \right\left \begin n+1 \\ 2 \end \right\left \begin n+1 \\ 3 \end \right+ 3 \left \begin n+1 \\ 1 \end \right2 \left \begin n+1 \\ 4 \end \right More generally, one can invert the
Bell polynomial In combinatorial mathematics, the Bell polynomials, named in honor of Eric Temple Bell, are used in the study of set partitions. They are related to Stirling and Bell numbers. They also occur in many applications, such as in the Faà di Bruno' ...
generating function for the Stirling numbers expanded in terms of the m-order
harmonic number In mathematics, the -th harmonic number is the sum of the reciprocals of the first natural numbers: H_n= 1+\frac+\frac+\cdots+\frac =\sum_^n \frac. Starting from , the sequence of harmonic numbers begins: 1, \frac, \frac, \frac, \frac, \do ...
s to obtain that for integers m \geq 2 :H_n^ = -m \times ^mlog\left(1+\sum_ \left \begin n+1 \\ k+1 \end \right\frac\right).


Factorial-related sums

For all positive integer ''m'' and ''n'', one has (n+m)!=\sum_^n\sum_^mm^\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
\binomk!, where a^=a(a+1)\cdots(a+b-1) is the rising factorial. This formula is a dual of Spivey's result for the
Bell number 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 ...
s. Other related formulas involving the falling factorials, Stirling numbers of the first kind, and in some cases
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 S(n,k) or \textstyle \lef ...
include the following: \begin n^ & = \sum_k \left begin n+1 \\ k+1 \end \right\left\ (-1)^ \\ \binom (n-1)^ & = \sum_k \left begin n \\ k \end \rightleft\ \\ \binom & = \sum_k \left\ \left begin k \\ m \end \right(-1)^ \\ \left begin n+1 \\ m+1 \end \right& = \sum_ \left begin k \\ m \end \rightn^. \end


Inversion relations and the Stirling transform

For any pair of sequences, \ and \, related by a finite sum Stirling number formula given by :g_n = \sum_^ \left\ f_k, for all integers n \geq 0, we have a corresponding inversion formula for f_n given by :f_n = \sum_^ \left begin n \\ k \end \right(-1)^ g_k. These inversion relations between the two sequences translate into functional equations between the sequence exponential generating functions given by the Stirling (generating function) transform as :\widehat(z) = \widehat\left(e^z-1\right) and :\widehat(z) = \widehat\left(\log(1+z)\right). The
differential operators In mathematics, a differential operator is an operator defined as a function of the differentiation operator. It is helpful, as a matter of notation first, to consider differentiation as an abstract operation that accepts a function and retur ...
D = d/dx and \vartheta = zD are related by the following formulas for all integers n \geq 0: :\vartheta^n = \sum_k S(n, k) z^k D^k :z^n D^n = \sum_k s(n, k) \vartheta^k Another pair of "''inversion''" relations involving the Stirling numbers relate the forward differences and the ordinary n^
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
s of a function, f(x), which is analytic for all x by the formulas :\frac \frac f(x) = \sum_^ \frac \Delta^n f(x) :\frac \Delta^k f(x) = \sum_^ \frac \frac f(x).


Congruences

The following congruence identity may be proved via a
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary serie ...
-based approach: : \begin \left begin n \\ m \end \right& \equiv \binom = ^m\left( x^ (x+1)^ \right) && \pmod, \end More recent results providing Jacobi-type J-fractions that generate the single factorial function and generalized factorial-related products lead to other new congruence results for the Stirling numbers of the first kind. For example, working modulo 2 we can prove that : \begin \left begin n \\ 1 \end \right& \equiv \frac \geq 2+ = 1&& \pmod \\ \left begin n \\ 2 \end \right& \equiv \frac (n-1) \geq 3+ = 2&& \pmod \\ \left begin n \\ 3 \end \right& \equiv 2^ (9n-20) (n-1) \geq 4+ = 3&& \pmod \\ \left begin n \\ 4 \end \right& \equiv 2^ (3n-10) (3n-7) (n-1) \geq 5+ = 4&& \pmod \\ \left begin n \\ 5 \end \right& \equiv 2^ (27n^3-279n^2+934n-1008) (n-1) \geq 6+ = 5&& \pmod \\ \left begin n \\ 6 \end \right& \equiv \frac (9n^2-71n+120) (3n-14) (3n-11) (n-1) \geq 7+ = 6&& \pmod, \end and working modulo 3 we can similarly prove that : \begin \left begin n \\ 1 \end \right& \equiv \sum\limits_ \frac \left(9-5 j\sqrt\right) \times \left(3+j\sqrt\right)^ \geq 2+ = 1&& \pmod \\ \left begin n \\ 2 \end \right& \equiv \sum\limits_ \frac \left((44n-41)-(25n-24) \cdot j\sqrt\right) \times \left(3+j\sqrt\right)^ \geq 3+ = 2&& \pmod \\ \left begin n \\ 3 \end \right& \equiv \sum\limits_ \frac \left((1299n^2-3837n+2412)- (745n^2-2217n+1418) \cdot j\sqrt\right) \times \left(3+j\sqrt\right)^ \geq 4+ = 3&& \pmod \\ \left begin n \\ 4 \end \right& \equiv \sum\limits_ \frac \bigl((6409n^3-383778n^2+70901n-37092) - (3690n^3-22374n^2+41088n-21708) \cdot j\sqrt\bigr) \times \left(3+j\sqrt\right)^ \geq 5+ = 4&& \pmod. \end More generally, for fixed integers h \geq 3 if we define the ordered roots :\left(\omega_\right)_^ := \left\, then we may expand congruences for these Stirling numbers defined as the coefficients :\left begin n \\ m \end \right= ^mR(R+1) \cdots (R+n-1), in the following form where the functions, p_^(n), denote fixed polynomials of degree m in n for each h, m, and i: :\left begin n \\ m \end \right= \left(\sum_^ p_^(n) \times \omega_^ \right) > m+ = m\qquad \pmod, Section 6.2 of the reference cited above provides more explicit expansions related to these congruences for the r-order
harmonic number In mathematics, the -th harmonic number is the sum of the reciprocals of the first natural numbers: H_n= 1+\frac+\frac+\cdots+\frac =\sum_^n \frac. Starting from , the sequence of harmonic numbers begins: 1, \frac, \frac, \frac, \frac, \do ...
s and for the generalized factorial products, p_n(\alpha, R) := R(R+\alpha)\cdots(R+(n-1)\alpha). In the previous examples, the notation mathtt/math> denotes
Iverson's convention In mathematics, the Iverson bracket, named after Kenneth E. Iverson, is a notation that generalises the Kronecker delta, which is the Iverson bracket of the statement . It maps any statement to a function of the free variables in that statement ...
.


Generating functions

A variety of identities may be derived by manipulating the
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary serie ...
: :H(z,u)= (1+z)^u = \sum_^\infty z^n = \sum_^\infty \frac \sum_^n s(n,k) u^k = \sum_^\infty u^k \sum_^\infty \frac s(n,k). Using the equality :(1+z)^u = e^ = \sum_^\infty (\log(1 + z))^k \frac, it follows that :\sum_^\infty (-1)^ \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
\frac = \frac. (This identity is valid for
formal power series In mathematics, a formal series is an infinite sum that is considered independently from any notion of convergence, and can be manipulated with the usual algebraic operations on series (addition, subtraction, multiplication, division, partial s ...
, and the sum converges in the
complex plane In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by the ...
for , ''z'', < 1.) Other identities arise by exchanging the order of summation, taking derivatives, making substitutions for ''z'' or ''u'', etc. For example, we may derive:arXiv
/ref> :(1-z)^ = \sum_^\infty u^k \sum_^\infty \frac \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= e^ and :\frac = m!\sum_^\infty \frac ,\qquad m=1,2,3,\ldots\quad , z, <1 or :\sum_^\infty \frac = \zeta(i+1),\qquad i=1,2,3,\ldots and :\sum_^\infty \frac = \zeta(i+1,v),\qquad i=1,2,3,\ldots\quad \Re(v)>0 where \zeta(k) and \zeta(k,v) are the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
and the
Hurwitz zeta function In mathematics, the Hurwitz zeta function is one of the many zeta functions. It is formally defined for complex variables with and by :\zeta(s,a) = \sum_^\infty \frac. This series is absolutely convergent for the given values of and and c ...
respectively, and even evaluate this integral :\int_0^1 \frac \, dx = \frac\sum_^ s(k-1,r)\sum_^r \binom(k-2)^ \zeta(z+1-m) ,\qquad \Re(z) > k-1 ,\quad k=3,4,5,\ldots where \Gamma(z) is the
gamma function In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers excep ...
. There also exist more complicated expressions for the zeta-functions involving the Stirling numbers. One, for example, has :\frac\sum_^\infty \frac\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
sum_^\!(-1)^l \binom (l+v)^=\zeta(s,v),\quad k=1, 2, 3,\ldots This series generalizes Hasse's series for the Hurwitz zeta-function (we obtain Hasse's series by setting ''k''=1).


Asymptotics

The next estimate given in terms of the Euler gamma constant applies: :\left \begin n+1 \\ k+1 \end \right\sim \frac \left(\gamma+\ln n\right)^k,\ \text k = o(\ln n). For fixed n we have the following estimate as k \longrightarrow \infty: :\left \begin n+k \\ k \end \right\sim \frac. We can also apply the saddle point asymptotic methods from Temme's article to obtain other estimates for the Stirling numbers of the first kind. These estimates are more involved and complicated to state. Nonetheless, we provide an example. In particular, we define the log gamma function, \phi(x), whose higher-order derivatives are given in terms of
polygamma function In mathematics, the polygamma function of order is a meromorphic function on the complex numbers \mathbb defined as the th derivative of the logarithm of the gamma function: :\psi^(z) := \frac \psi(z) = \frac \ln\Gamma(z). Thus :\psi^(z) ...
s as : \begin \phi(x) & = \ln\left 1+1)(x+2) \cdots (x+n)\right- m \ln x \\ & = \ln \Gamma(x+n+1) - \ln \Gamma(x+1) - m \ln x \\ \phi^(x) & = \psi(x+n+1) - \psi(x+1) - m / x, \end where we consider the (unique) saddle point x_0 of the function to be the solution of \phi^(x) = 0 when 1 \leq m \leq n. Then for t_0 = m / (n-m) and the constants : B = \phi(x_0) - n \ln(1+t_0) + m \ln t_0 :g(t_0) = \frac \sqrt, we have the following asymptotic estimate as n \longrightarrow \infty: :\left \begin n+1 \\ m+1 \end \right\sim e^ g(t_0) \binom.


Finite sums

Since permutations are partitioned by number of cycles, one has :\sum_^n \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
= n! The identity :\sum_^ = \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
/math> can be proved by the techniques on the page Stirling numbers and exponential generating functions. The table in section 6.1 of ''Concrete Mathematics'' provides a plethora of generalized forms of finite sums involving the Stirling numbers. Several particular finite sums relevant to this article include : \begin \left begin n \\ m \end \right& = \sum_k \left begin n+1 \\ k+1 \end \right\binom (-1)^ \\ \left begin n+1 \\ m+1 \end \right& = \sum_^n \left begin k \\ m \end \right\frac \\ \left begin m+n+1 \\ m \end \right& = \sum_^m (n+k) \left begin n+k \\ k \end \right\\ \left begin n \\ l+m \end \right\binom & = \sum_k \left begin k \\ l \end \right\left begin n-k \\ m \end \right\binom. \end Other finite sum identities involving the signed Stirling numbers of the first kind found, for example, in the ''NIST Handbook of Mathematical Functions'' (Section 26.8) include the following sums: : \begin \binom s(n, k) & = \sum_^ \binom s(n-j, h) s(j, k-h) \\ s(n+1, k+1) & = n! \times \sum_^n \frac s(j, k) \\ s(n, n-k) & = \sum_^k (-1)^j \binom \binom S(k+j, j) \\ s(n, k) & = \sum_^n s(n+1, j+1) n^. \end Additionally, if we define the ''second-order'' Eulerian numbers by the triangular recurrence relation :E_2(n, k) = (k+1) E_2(n-1, k) + (2n-1-k) E_2(n-1, k-1) + \delta_ \delta_, we arrive at the following identity related to the form of the Stirling convolution polynomials which can be employed to generalize both Stirling number triangles to arbitrary real, or complex-valued, values of the input x: :\left begin x \\ x-n \end \right= \sum_k E_2(n, k) \binom. Particular expansions of the previous identity lead to the following identities expanding the Stirling numbers of the first kind for the first few small values of n := 1, 2, 3: : \begin \left begin x \\ x-1 \end \right& = \binom \\ \left begin x \\ x-2 \end \right& = \binom + 2 \binom \\ \left begin x \\ x-3 \end \right& = \binom + 8 \binom + 6 \binom. \end Software tools for working with finite sums involving Stirling numbers and Eulerian numbers are provided by th
RISC Stirling.m package
utilities in ''Mathematica''. Other software packages for ''guessing'' formulas for sequences (and polynomial sequence sums) involving Stirling numbers and other special triangles is available for both
Mathematica Wolfram Mathematica is a software system with built-in libraries for several areas of technical computing that allow machine learning, statistics, symbolic computation, data manipulation, network analysis, time series analysis, NLP, optimiza ...
and Sagebr>here
an
here
respectively. Furthermore, infinite series involving the finite sums with the Stirling numbers often lead to the special functions. For example \sum_^\!\frac\cdot\frac\sum_^ \!\frac=\sum_^\!\frac=\frac -\frac+\frac +\!\!\!\!\sum_^\!\!\!\! (-1)^l \binom\frac +\!\!\sum_^\!\! (-1)^l \binom\frac or \ln\Gamma(z) = \left(z-\frac\right)\!\ln z -z +\frac\ln2\pi + \frac \sum_^\infty\frac\!\sum_^\! \frac \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
and \Psi(z) = \ln z - \frac - \frac \sum_^\infty\frac\!\sum_^\! \frac \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
or even \gamma_m=\frac\delta_+\frac \!\sum_^\infty\frac \! \sum_^\frac \left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
\left
right Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convention, or ethical ...
\, where ''γ''''m'' are the
Stieltjes constants In mathematics, the Stieltjes constants are the numbers \gamma_k that occur in the Laurent series expansion of the Riemann zeta function: :\zeta(s)=\frac+\sum_^\infty \frac \gamma_n (s-1)^n. The constant \gamma_0 = \gamma = 0.577\dots is known ...
and ''δ''''m'',0 represents the Kronecker delta function.


Explicit formula

The Stirling number ''s(n,n-p)'' can be found from the formula : \begin s(n,n-p) &= \frac \sum_ (-1)^K \frac , \end where K =k_1 + \cdots + k_p. The sum is a sum over all
partitions Partition may refer to: Computing Hardware * Disk partitioning, the division of a hard disk drive * Memory partition, a subdivision of a computer's memory, usually for use by a single job Software * Partition (database), the division of ...
of ''p''. Another exact nested sum expansion for these Stirling numbers is computed by elementary symmetric polynomials corresponding to the coefficients in x of a product of the form (1+c_1 x) \cdots (1+c_x). In particular, we see that : \begin \left \begin n \\ k+1 \end \right& = ^k(x+1)(x+2) \cdots (x+n-1) = (n-1)! \cdot ^k(x+1) \left(\frac+1\right) \cdots \left(\frac+1\right) \\ & = \sum_ \frac. \end
Newton's identities In mathematics, Newton's identities, also known as the Girard–Newton formulae, give relations between two types of symmetric polynomials, namely between power sums and elementary symmetric polynomials. Evaluated at the roots of a monic polynom ...
combined with the above expansions may be used to give an alternate proof of the weighted expansions involving the generalized
harmonic number In mathematics, the -th harmonic number is the sum of the reciprocals of the first natural numbers: H_n= 1+\frac+\frac+\cdots+\frac =\sum_^n \frac. Starting from , the sequence of harmonic numbers begins: 1, \frac, \frac, \frac, \frac, \do ...
s already noted above. Another explicit formula for reciprocal powers of ''n'' is given by the following identity for integers p \geq 2: :\frac = \frac + \frac\left(\begin n\\p\end+ \begin n\\p-1\end\right) + \frac \begin n+1\\p\end + \sum_^ \begin n+1\\j+2\end \frac. Notice that this last identity immediately implies relations between the
polylogarithm In mathematics, the polylogarithm (also known as Jonquière's function, for Alfred Jonquière) is a special function of order and argument . Only for special values of does the polylogarithm reduce to an elementary function such as the nat ...
functions, the Stirling number exponential
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary serie ...
s given above, and the Stirling-number-based power series for the generalize
Nielsen polylogarithm
functions.


Relations to natural logarithm function

The ''n''th
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
of the ''μ''th power of the
natural logarithm The natural logarithm of a number is its logarithm to the base of the mathematical constant , which is an irrational and transcendental number approximately equal to . The natural logarithm of is generally written as , , or sometimes, if ...
involves the signed Stirling numbers of the first kind: =x^\sum_^\mu^s(n,n-k+1)(\ln x)^, where \mu^\underlineis the
falling factorial In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial :\begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) \,. \e ...
, and s(n,n-k+1)is the signed Stirling number. It can be proved by using
mathematical induction Mathematical induction is a method for proving that a statement ''P''(''n'') is true for every natural number ''n'', that is, that the infinitely many cases ''P''(0), ''P''(1), ''P''(2), ''P''(3), ...  all hold. Informal metaphors help ...
.


Generalizations

There are many notions of ''generalized Stirling numbers'' that may be defined (depending on application) in a number of differing combinatorial contexts. In so much as the Stirling numbers of the first kind correspond to the coefficients of the distinct polynomial expansions of the single factorial function, n! = n (n-1) (n-2) \cdots 2 \cdot 1, we may extend this notion to define triangular recurrence relations for more general classes of products. In particular, for any fixed arithmetic function f: \mathbb \rightarrow \mathbb and symbolic parameters x, t, related generalized factorial products of the form :(x)_ := \prod_^ \left(x+\frac\right) may be studied from the point of view of the classes of generalized Stirling numbers of the first kind defined by the following coefficients of the powers of x in the expansions of (x)_ and then by the next corresponding triangular recurrence relation: : \begin \left begin n \\ k \end \right & = ^(x)_ \\ & = f(n-1) t^ \left begin n-1 \\ k \end \right + \left begin n-1 \\ k-1 \end \right + \delta_ \delta_. \end These coefficients satisfy a number of analogous properties to those for the Stirling numbers of the first kind as well as recurrence relations and functional equations related to the ''f-harmonic numbers'', F_n^(t) := \sum_ t^k / f(k)^r. One special case of these bracketed coefficients corresponding to t \equiv 1 allows us to expand the multiple factorial, or multifactorial functions as polynomials in n (see generalizations of the double factorial). The Stirling numbers of both kinds, the
binomial coefficients In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
, and the first and second-order Eulerian numbers are all defined by special cases of a triangular ''super-recurrence'' of the form :\left, \begin n \\ k \end \ = (\alpha n + \beta k + \gamma) \left, \begin n-1 \\ k \end \ + (\alpha^ n + \beta^ k + \gamma^) \left, \begin n-1 \\ k-1 \end \ + \delta_ \delta_, for integers n, k \geq 0 and where \left, \begin n \\ k \end \ \equiv 0 whenever n < 0 or k < 0. In this sense, the form of the Stirling numbers of the first kind may also be generalized by this parameterized super-recurrence for fixed scalars \alpha, \beta, \gamma, \alpha^, \beta^, \gamma^ (not all zero).


See also

*
Stirling polynomials In mathematics, the Stirling polynomials are a family of polynomials that generalize important sequences of numbers appearing in combinatorics and analysis, which are closely related to the Stirling numbers, the Bernoulli numbers, and the genera ...
* Stirling numbers *
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 S(n,k) or \textstyle \lef ...
*
Random permutation statistics The statistics of random permutations, such as the cycle structure of a random permutation are of fundamental importance in the analysis of algorithms, especially of sorting algorithms, which operate on random permutations. Suppose, for example, t ...


References

*
The Art of Computer Programming ''The Art of Computer Programming'' (''TAOCP'') is a comprehensive monograph written by the computer scientist Donald Knuth presenting programming algorithms and their analysis. Volumes 1–5 are intended to represent the central core of com ...
*
Concrete Mathematics ''Concrete Mathematics: A Foundation for Computer Science'', by Ronald Graham, Donald Knuth, and Oren Patashnik, first published in 1989, is a textbook that is widely used in computer-science departments as a substantive but light-hearted treatme ...
* * . * {{Classes of natural numbers Permutations Factorial and binomial topics Triangles of numbers Operations on numbers pl:Liczby Stirlinga#Liczby Stirlinga I rodzaju