week 3 Flashcards
n!
n factorial
n x (n-1)!
eg 4! = 4x3x2x1
0!
1
1!
1
2!
2
3!
6
4!
24
5!
120
circular permutations
number of ways n objects can be arranged around a circle
(n-1)!
(n k)
number of ways to select k objects from a set of n objects
= n!/k!(n-k)!
(0 0)
1
(1 0)
1
(1 1)
1
(2 0)
1
(2 1)
2
(2 2)
1
(3 0)
1
(3 1)
3
(3 2)
3
(3 3)
1
(4 0)
1
(4 1)
4
(4 2)
6
(4 3)
4
(4 4)
1
(n 0)
1
there is 1 way to choose 0 objects ( don’t choose any)
(n 1)
n
there are n ways to choose 1 object
(n n)
1
there is 1 way to choose n objects ( choose all of them)
(n k)
(n n-k)
eg (5 2) = (5 5-2) (5 3)
selecting k objects from a set of n objects and arranging around the k objects
n!/ (n-k)!
selecting k objects from a set of n objects and arranging around the k objects in a circle
1/k n!/k(n-k)!