= n·(n-1)·...·(n-k+1) When k=n, nPk = n!
nPn, # permutations of all n of the things is n!
nPn-1 # permutations of n things taken n-1 at a time is also n!
nP1, # permutations of n things taken 1 at a time is n
nP2, # permutations of n things taken 2 at a time (ie. ordered pairs) is n(n-1) = #edges in fully-connected digraph
A multiset (elements can be repeated) # of permutations =
n! / m1!m2!...mi!
MISSISSIPPI =
11! / 1! 4! 4! 2! = 34650
Derangements all things "move": !n = ⌊n!/e + 1/2⌋
= n "choose" k the binomial coefficients, Pascal's triangle
nC0 =1, the empty set
nC1 =n, the singleton sets
nCn =1, the set itself
nCn-1 =n, each set minus one member
nC2 =(n(n-1))/2 =(n2-n)/2 = #unordered pairs = #edges in fully-connected graph Kn
nCk = nCn-k, symmetry
Binomial theorem: