Combinatorics and Counting Flashcards
What is the fundamental principle of counting?
If an event can occur in n1 ways, and a second event in n2 ways, and a third in n3 ways, … and an i-th event in ni different ways, then the total number of ways the sequence 1 to i can occur is i! (i factorial)
In how many was can N objects be chosen from a set of N distinct objects where the order is important?
NpN ( = N!)
In how many ways can k objects from a set of N distinct objects be chosen, where k < N?
NPK
What is the formula of NpK?
N!
(N-k)!
How do you calculate the number of permutations of N objects when n1 are alike in one respect, n2 are alike in a second respect, …, and ni are alike in an i-th respect
N!
n1! x n2! x … x ni!
How do we choose k objects from N if order is unimportant?
NCK
How many ways can k objects be chosen from a set of N when objects are replaced?
N^k
What is the formula for NCK?
N! / (N-k)!k!