What does n! mean?
n! (n factorial) multiplies all whole numbers from 1 up to n. So 5! = 5x4x3x2x1 = 120.
// maths › Sequences & Patterns
Factorial growth shown as a spiral whose height is log10(n!), so you can see how explosively n! grows.
n! as a log-height spiral
Drag to rotate · scroll to zoom · right-drag to pan
n! (n factorial) multiplies all whole numbers from 1 up to n. So 5! = 5x4x3x2x1 = 120.
Factorials grow so fast that 40! already has 48 digits. Plotting the number of digits (log10) keeps the whole spiral on screen.
Anywhere you count arrangements: seating plans, passwords, card shuffles, and the permutations and combinations behind probability.
10! = 3,628,800 different orders - from just ten people.
0! = 1, by definition. There is exactly one way to arrange nothing - the empty arrangement.