Formulas
- nCr = n! ÷ (r! (n − r)!)
- nPr = n! ÷ (n − r)!
- With repetition: nʳ permutations and (n + r − 1)! ÷ (r! (n − 1)!) combinations.
Lottery example: picking 6 numbers from 49 has C(49, 6) = 13,983,816 combinations.
Frequently asked questions
How large can n be?
Up to 1,000 with exact results.
What is 0! ?
1, by definition.
Is it free?
Yes.

