The unsigned Stirling number of the first kind, s(k, j) counts the number of permutations of k elements with exactly j disjoint cycles.
Properties
(1) For every k > 0 : s(k, k) = 1.
(2) For every k > 0 : s(k, 1) = (k − 1)!.
(3) For every k > j > 1, s(k, j) = s(k − 1,j − 1) + s(k − 1, j)·(k − 1)
Reasons for properties
(1) There is only one way to construct a permutation of k elements with k cycles: Every cycle must have length 1 so every element must be a fixed point.
(2.a) Every cycle of length k may be written as permutation of the number 1 to k; there are k! of these permutations.
(2.b) There are k different ways to write a given cycle of length k, e.g. ( 1 2 4 3 ) = ( 2 4 3 1 ) = ( 4 3 1 2 ) = ( 3 1 2 4 ).
(2.c) Finally: s(k, 1) = k!/k = (k − 1)!.
(3) There are two different ways to construct a permutation of k elements with j cycles:
(3.a) If we want element k to be a fixed point we may choose one of the s(k − 1, j − 1) permutations with k − 1 elements and j − 1 cycles and add element k as a new cycle of length 1.
(3.b) If we want element knot to be a fixed point we may choose one of the s(k − 1, j ) permutations with k − 1 elements and j cycles and insert element k in an existing cycle in front of one of the k − 1 elements.
Some values
k
j
1
2
3
4
5
6
7
8
9
sum
1
1
1
2
1
1
2
3
2
3
1
6
4
6
11
6
1
24
5
24
50
35
10
1
120
6
120
274
225
85
15
1
720
7
720
1,764
1,624
735
175
21
1
5,040
8
5,040
13,068
13,132
6,769
1,960
322
28
1
40,320
9
40,320
109,584
118,124
67,284
22,449
4,536
546
36
1
362,880
1
2
3
4
5
6
7
8
9
sum
Fixed points
The value f(k, j) counts the number of permutations of k elements with exactly j fixed points. For the main article on this topic, see rencontres numbers.
Properties
(1) For every j < 0 or j > k : f(k, j) = 0.
(2)f(0, 0) = 1.
(3) For every k > 1 and k ≥ j ≥ 0, f(k, j) = f(k − 1, j − 1) + f(k − 1, j)·(k − 1 − j) + f(k − 1, j + 1)·(j + 1)
Reasons for properties
(3) There are three different methods to construct a permutation of k elements with j fixed points:
(3.a) We may choose one of the f(k − 1, j − 1) permutations with k − 1 elements and j − 1 fixed points and add element k as a new fixed point.
(3.b) We may choose one of the f(k − 1, j) permutations with k − 1 elements and j fixed points and insert element k in an existing cycle of length > 1 in front of one of the (k − 1) − j elements.
(3.c) We may choose one of the f(k − 1, j + 1) permutations with k − 1 elements and j + 1 fixed points and join element k with one of the j + 1 fixed points to a cycle of length 2.