Professional Documents
Culture Documents
Combinatorics
Shawn Qian
Permutations
The number of all permutations of an n-element
set is n!
How many ways are there to arrange the letters
ABCDE in a row?
5!=120
binomial coefficient of
n
n
n!
n!
=
=
=
a1 !a2 !
k!(nk)!
k
nk
digit strings that can be formed over an nelement alphabet in which no letter is used
n!
more than once is n(n-1)(n-k+1) =
nk !
distinct digits?
9 9 8 = 648
Bijections
Let X and Y be two finite sets. A
Subsets
The number of k-element subsets of {a1, a2, ,
n
n!
an} is
=
k!(nk)!
k
How many 3-digit numbers are there such that
Subsets
A multiset is a set which members are allowed
n
k=0
n
k=0
n
k
n k nk
x y
k
n
n
n+1
+
=
k+1
k
k+1
n
n
n1
n2
= k=1 k
k
Functions
Weak Compositions
(n identical objects, k distinct boxes)
Weak Compositions
Strong Compositions
A sequence (b1, b2, , bk) of integers fulfilling bi 1
Set Partitions
{a1, a2,
Set Partitions
k
i=1 S(n, i)
Set Partitions
Integer Partitions
Integer Partitions
k parts is pk (n)
With empty boxes allowed, there are
k
i=1 pi (n)
Integer Partitions