Combinatorics Flashcards
Combinatorics is
the number of ways of arranging things
When considering the number of possible combinations,
its often helpful to think of ordered slots in a line that we can fill
Number of ways of picking one card from each of 20 different packs =
52^20
Number of outcomes from the throw of five dice and the toss of five coins =
6^5 x 2^5
The number of ways of arranging n objects is
n!
0! =
1
(n+1)! =
(n+1)n!
Permutations: it gives us the number of ways of putting n items into k slots =
n!/(n-k)!
Choose function -
order does not matter
Number of ways of choosing k items from n =
n!/(n-k)!k!
Combinations -
order does not matter
Permutations -
order does matter
Choosing r things from n number of things, repetition allowed, order matters =
n^r
Repetition allowed, order matters
Choosing r things from n number of things, repetition not allowed, order matters =
n!/(n-r)!
Choosing r things from n number of things, repetition allowed, order doesn’t matter =
(r+n-1)!/r!(n-r)!