Combinations and permutations

The number of ways to choose r items from n: combinations ignore order, permutations count it.

C(n, r) = n! ÷ (r! × (n − r)!)
P(n, r) = n! ÷ (n − r)!

All terms