Instantly calculate nPr and nCr, and understand the difference between them.
Permutations and combinations both count the ways to choose r items from a group of n, but they differ in whether order matters. A permutation counts arrangements where order matters (like a race's 1st, 2nd, 3rd place), while a combination counts selections where order doesn't matter (like picking a 3-person committee).
Permutations count arrangements where order matters; combinations count selections where order doesn't matter.
nPr = n! ÷ (n−r)!, for choosing r items from n in order.
nCr = n! ÷ (r! × (n−r)!), for choosing r items from n regardless of order.