Where Factorials Come From
Ask “in how many orders can 5 books sit on a shelf?” — the first slot has 5 choices, the next 4, then 3, 2, 1. That is 5! = 120. Factorials count permutations, and they explode fast: 10! is already 3.6 million, and 20! exceeds 2 quintillion.
The Two Facts That Confuse Everyone
- 0! = 1 by definition — an empty product equals 1, which keeps combination formulas working.
- Factorials only apply to whole numbers. For decimals, mathematicians extend the idea with the Gamma function, where n! = Γ(n+1).
Factorials in Probability
Combinations (nCr) and permutations (nPr) are built from factorials — lottery odds, poker hands, and committee selections all reduce to factorial division. Try the probability calculator to put them to work.