P Olya's Enumeration Formula. Stirling Cycle Numbers. Stirling Set Numbers
P Olya's Enumeration Formula. Stirling Cycle Numbers. Stirling Set Numbers
Burnside’s Lemma
The number N of equivalence classes of a set of colourings C in
the presence of a group of symmetries G is
1 X
N= |Cπ |
|G |
π∈G
M(1)(2)(3)(4) = x14 ,
M(1,3)(2)(4) = M(1)(2,4)(3) = x12 x2 ,
M(1,2)(3,4) = M(1,3)(2,4) = M(1,4)(2,3) = x22 ,
M(1,2,3,4) = M(1,4,3,2) = x4 .
1
PC4 (x1 , x2 , x3 , x4 ) = (x14 + x22 + 2 x4 ).
4
◦
4 rotations with k · 18 where k ∈ {4, 8, 12, 16} have type [λ1 , . . . , λ20 ]
with λ5 = 4 and λj = 0 for all j 6= 5 ⇒ monomial 4 x54
2 rotations with k · 18◦ where k ∈ {5, 15} have type [λ1 , . . . , λ20 ] with
λ4 = 5 and λj = 0 for all j 6= 4 ⇒ monomial 2 x45
Rotation with 10 · 18◦ has type [0, 2, 0, . . .] ⇒ monomial x210
and 20 reflections
10 reflections around axes passing through midpoints of opposite edges of
the regular polygon have type [0, 10, 0, . . . , 0] ⇒ monomial 10 x210
10 reflections around axes passing through opposite nodes of the regular
polygon have type [λ1 , . . . , λ20 ] with λ1 = 2 and λ9 = 1 ⇒ 10 x12 x29
◦
4 rotations with k · 18 where k ∈ {4, 8, 12, 16} have type [λ1 , . . . , λ20 ]
with λ5 = 4 and λj = 0 for all j 6= 5 ⇒ monomial 4 x54
2 rotations with k · 18◦ where k ∈ {5, 15} have type [λ1 , . . . , λ20 ] with
λ4 = 5 and λj = 0 for all j 6= 4 ⇒ monomial 2 x45
Rotation with 10 · 18◦ has type [0, 2, 0, . . .] ⇒ monomial x210
and 20 reflections
10 reflections around axes passing through midpoints of opposite edges of
the regular polygon have type [0, 10, 0, . . . , 0] ⇒ monomial 10 x210
10 reflections around axes passing through opposite nodes of the regular
polygon have type [λ1 , . . . , λ20 ] with λ1 = 2 and λ9 = 1 ⇒ 10 x12 x29
◦
4 rotations with k · 18 where k ∈ {4, 8, 12, 16} have type [λ1 , . . . , λ20 ]
with λ5 = 4 and λj = 0 for all j 6= 5 ⇒ monomial 4 x54
2 rotations with k · 18◦ where k ∈ {5, 15} have type [λ1 , . . . , λ20 ] with
λ4 = 5 and λj = 0 for all j 6= 4 ⇒ monomial 2 x45
Rotation with 10 · 18◦ has type [0, 2, 0, . . .] ⇒ monomial x210
and 20 reflections
10 reflections around axes passing through midpoints of opposite edges of
the regular polygon have type [0, 10, 0, . . . , 0] ⇒ monomial 10 x210
10 reflections around axes passing through opposite nodes of the regular
polygon have type [λ1 , . . . , λ20 ] with λ1 = 2 and λ9 = 1 ⇒ 10 x12 x29
1
I PD20 (x1 , x2 , . . . , x20 ) = 40 (x120 + 10 x12 x29 + 11 x210 + 2 x45 + 4 x54 + 4 x10
2 + 8x )
20
⇒ N = P20 (3, . . . , 3) = 87 230 157
Isabela Drămnesc UVT Graph Theory and Combinatorics – Lecture 6 6 / 25
Applications of the cycle index
Pólya’s enumeration formula
where
the sum is over all vectors v = (n1 , n2 , . . . , nm ) of positive integers
such that n1 + n2 + . . . + nm = n, and
a(n1 ,n2 ,...,nm ) is the number of non-equivalent colourings of these n
objects, where every colour yi appears exactly ni times.
Isabela Drămnesc UVT Graph Theory and Combinatorics – Lecture 6 7 / 25
Pólya’s Enumeration Formula
Example
How many different necklaces can be made with 2 red beads (r ), 9 black
(b) and 9 white (w )? We assume that the symetries of this necklace are
the permutations of the dihedral group D20 , made of
I 20 rotations
I 20 symmetries
Example
How many different necklaces can be made with 2 red beads (r ), 9 black
(b) and 9 white (w )? We assume that the symetries of this necklace are
the permutations of the dihedral group D20 , made of
I 20 rotations
I 20 symmetries
Answer: This is the coefficient of r 2 b 9 w 9 in the pattern inventory, which
is the polynomial
X X
FD20 (r , b, w ) = av r i b j w k = a(i,j,k) r i b j w k .
v=(i,j,k) i+j+k=20
i+j+k=20 i,j,k≥0
i,j,k≥0
Example
How many different necklaces can be made with 2 red beads (r ), 9 black
(b) and 9 white (w )? We assume that the symetries of this necklace are
the permutations of the dihedral group D20 , made of
I 20 rotations
I 20 symmetries
Answer: This is the coefficient of r 2 b 9 w 9 in the pattern inventory, which
is the polynomial
X X
FD20 (r , b, w ) = av r i b j w k = a(i,j,k) r i b j w k .
v=(i,j,k) i+j+k=20
i+j+k=20 i,j,k≥0
i,j,k≥0
Theorem
Suppose S is an arrangement of n objects colorable with m colors
y1 , . . . , ym , and G is a group of n-permutations. Let
1 X
PG (x1 , x2 , . . . , xn ) = Mπ (x1 , x2 , . . . , xn )
|G |
π∈G
FG (r , g , b) =PD4 (r + g + b, r 2 + g 2 + b 2 , r 3 + g 3 + b 3 , r 4 + g 4 + b 4 )
1
= (r + g + b)4 + 2 (r + g + b)2 (r 2 + g 2 + b 2 )
8
+ 3 (r 2 + g 2 + b 2 )2 + 2 (r 4 + g 4 + b 4 )
=r 4 + g 4 + b 4 + r 3 g + r g 3 + r 3 b + r b 3 + g 3 b + g b 3
+ 2 r 2 g 2 + 2 r 2 b2 + 2 g 2 b2 + 2 r 2 g b + 2 r g 2 b + 2 r g b2
E.g., there are 2 colorings with 1 red bead, 1 green, and 2 blue.
Isabela Drămnesc UVT Graph Theory and Combinatorics – Lecture 6 10 / 25
Pólya’s Enumeration Formula
Applications
FG (r , g , b) =PC4 (r + g + b, r 2 + g 2 + b 2 , r 3 + g 3 + b 3 , r 4 + g 4 + b 4 )
1
= (r + g + b)4 + (r 2 + g 2 + b 2 )2 + 2 (r 4 + g 4 + b 4 )
4
=r 4 + g 4 + b 4 + r 3 g + r g 3 + r 3 b + r b 3 + g 3 b + g b 3
+ 2 r 2 g 2 + 2 r 2 b2 + 2 g 2 b2 + 3 r 2 g b + 3 r g 2 b + 3 r g b2
E.g., there are 3 colourings with 1 red bead, 1 green, and 2 blue.
Problem
In how many ways can n persons be seated at k round tables, such that
no table is unoccupied? At every table can stay any number o persons
between 1 and n.
Problem
In how many ways can n persons be seated at k round tables, such that
no table is unoccupied? At every table can stay any number o persons
between 1 and n.
Answer: Every answer to this problem is described by a cycle structure
with k disjoint structures C1 . . . Ck where Ci is the cycle describing the
people seated at table i.
Problem
In how many ways can n persons be seated at k round tables, such that
no table is unoccupied? At every table can stay any number o persons
between 1 and n.
Answer: Every answer to this problem is described by a cycle structure
with k disjoint structures C1 . . . Ck where Ci is the cycle describing the
people seated at table i.
Example
The cycle structure (1, 2, 4)(3, 6, 9, 10)(5)(7, 8) represents a possible
arrangement of 10 persons at 4 round tables:
The people at one table are arranged 1,2,4 clockwise.
The people at another table are arranged 3,6,9,10 clockwise.
At another table stays only person 5.
At the remaining table are persons 7 and 8.
Definition
The Stirling cycle number kn is the number of possibilities to seat
Definition
The Stirling cycle number kn is the number of possibilities to seat
Definition
The Stirling cycle number kn is the number of possibilities to seat
Definition
The Stirling cycle number kn is the number of possibilities to seat
afterwards place
n−1person
n at table k. This case can be
performed in k−1 ways.
2 Place n − 1 persons at k round tables, and afterwards add
We already P
know that
the binomial formula holds
(x + y )n = nk=0 kn x k y n−k . For y = 1 we get:
n
n
X n
(x + 1) = xk
k
k=0
We already P
know that
the binomial formula holds
(x + y )n = nk=0 kn x k y n−k . For y = 1 we get:
n
n
X n
(x + 1) = xk
k
k=0
⇒ Gn (x) = x · (x + 1) · (x + 2) · . . . · (x + n − 1) .
| {z }
notation: x n̄
X n
Thus x n̄ = xk.
k
k
Isabela Drămnesc UVT Graph Theory and Combinatorics – Lecture 6 18 / 25
Stirling cycle numbers
The triangle of Stirling cycle numbers
Problem
In how many ways can we divide n persons in k non-empty and disjoint
groups, if the order of persons in one group does not matter?
Problem
In how many ways can we divide n persons in k non-empty and disjoint
groups, if the order of persons in one group does not matter?
Example
The set {1, 2, 3} can be partitioned in 2 non-empty subsets in 3 ways:
{1, 2}, {3}; {1, 3}, {2}; and {1}, {2, 3}.
Problem
In how many ways can we divide n persons in k non-empty and disjoint
groups, if the order of persons in one group does not matter?
Example
The set {1, 2, 3} can be partitioned in 2 non-empty subsets in 3 ways:
{1, 2}, {3}; {1, 3}, {2}; and {1}, {2, 3}.
Definition
The number of ways in which we can partition a set of n elements in
exactly k non-empty and disjoint subsets is the Stirling set number kn .
Often in the literature this number is denoted by S(n, k) instead of kn .
1. There is only one way to place n people in one group, and also only
one way to split n people in n groups. Thus:
n n
= = 1.
1 n
2. We can not place n > 0 people in 0 groups. If n = 0 then we
assume there there is 1 way to place 0 people in 0 groups. Thus:
n 1 if n = 0,
=
0 0 if n > 0.
3. Splitting n people in n − 1 groups amounts to choosing a couple of
persons for one group; all other persons are alone in their group.
Thus
n n
= .
n−1 2
4. It is obvious that
n
=0 if k < 0 or k > n.
k
Isabela Drămnesc UVT Graph Theory and Combinatorics – Lecture 6 22 / 25
Stirling set numbers
Finding a recurrence relation