Factorial and permutations
5! = 120
The idea
How many ways can you arrange n things? n · (n − 1) · … · 1 = n!The board
- 3 books on a shelf: 3 choices for the first spot, 2 for the second, 1 for the third.
- 3 · 2 · 1 = 6 ways. It's written 3! (“three factorial”).
- 5! = 120, 10! = 3 628 800.
- By convention, 0! = 1.
The most common mistake
Adding instead of multiplying: 3 + 2 + 1 = 6 matches by chance, but 4! = 24, not 10.The trick
A deck of cards has 52! orderings — more than there are atoms on Earth. Every shuffle is probably unique in history.Problems
4! = ?
- 10
- 12
- 24
- 16
Show the answer
24 — 4 · 3 · 2 · 1.
How many ways can 5 people stand in a line?
- 60
- 5
- 120
- 25
Show the answer
120 — 5!.