Lably
Skip to content

Stirling numbers of the first kind

Count of permutations by cycles

  • 10 min read
  • 5 chapters

Related on Lably

Through Mathematics, Combinatorics and Permutation

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.

Definitions

Definition by algebra

The Stirling numbers of the first kind are the coefficients s(n,k) in the expansion of the falling factorial

(x)n=x(x−1)(x−2)⋯(x−n+1)

into powers of the variable x:

(x)n=∑k=0ns(n,k)xk,

For example, (x)3=x(x−1)(x−2)=x3−3x2+2x, leading to the values s(3,3)=1, s(3,2)=−3, and s(3,1)=2. By the empty product convention, (x)0=1 and therefore s(0,0)=1.

The unsigned Stirling numbers may also be defined algebraically as the coefficients of the rising factorial:

xn¯=x(x+1)⋯(x+n−1)=∑k=0n[nk]xk.

The notations used on this page for Stirling numbers are not universal, and may conflict with notations in other sources; the square bracket notation [nk] is also common notation for the Gaussian coefficients.

Definition by permutation

Subsequently, it was discovered that the absolute values |s(n,k)| of these numbers are equal to the number of permutations of certain kinds. These absolute values, which are known as unsigned Stirling numbers of the first kind, are often denoted c(n,k) or [nk]. They may be defined directly to be the number of permutations 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, given in one-line notation by 123 or in cycle notation 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 [33]=1, [32]=3, and [31]=2. These can be seen to agree with the previous algebraic calculations of s(n,k) for n=3.

For another example, the image at right shows that [42]=11: the symmetric group on 4 objects has 3 permutations of the form

(∙∙)(∙∙) (having 2 orbits, each of size 2),

and 8 permutations of the form

(∙∙∙)(∙) (having 1 orbit of size 3 and 1 orbit of size 1).

These numbers can be calculated by considering the orbits as conjugacy classes. Alfréd Rényi observed that the unsigned Stirling number of the first kind [nk] also counts the number of permutations of size n with k left-to-right maxima.

Signs

The signs of the signed Stirling numbers of the first kind depend only on the parity of n − k.

s(n,k)=(−1)n−k[nk].

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Discrete mathematics