How it works
A permutation counts picks where order matters. A combination counts picks where order does not matter, so it is smaller by r!.
Advertisement
Formula
nPr = n! ÷ (n − r)!.
nCr = n! ÷ (r! × (n − r)!).
nCr = n! ÷ (r! × (n − r)!).
Example
Worked example: n = 10, r = 3. nPr = 10 × 9 × 8 = 720. nCr = 720 ÷ 6 = 120. 10! = 3,628,800.
Frequently asked questions
Why is the limit 170?
Above 170 the factorial is larger than a computer can hold exactly.