Permutations & Combinations Calculator

Permutations
P(n,r) = n!/(n-r)!
Combinations
C(n,r) = n!/r!(n-r)!