Factorial

A chain reaction of multiplication.

A number of the form n! = 1×2×…×n, like 6, 120 or 5040. The number of ways to line up n people — and one of the most explosive sequences around.

9
Exact matches
1 in 111,111
Odds
0.0009%
Share
335 EP
Base EP

Your record

Not unlocked yet — roll today's number →

Only 9 factorials live in the range: 1, 2, 6, 24, 120, 720, 5040, 40320 and 362880 — 10! = 3,628,800 overshoots, making factorials 0.0009% of the range, among the scarcest math features. Factorials explode because they count permutations: each extra person multiplies the arrangements by n.

Factorials and highly divisible numbers are natural allies: n! swallows every prime factor from 1 to n, so divisors pile up. From 6! = 720 (30 divisors) onward, every factorial in range is highly divisible, and 9! = 362880 boasts 160 divisors.

Trivia: 5040 = 7! has 60 divisors, and Plato picked it in the Laws as the ideal citizen count of a city-state precisely because it divides evenly so many ways. Also, 6! = 720 can be disguised as 8×9×10 — a factorial posing as three consecutive factors.

Smallest examples

Notable examples

5,040 7! — Plato's ideal city-state population: 60 divisors, divisible every which way.
362,880 9!, the largest factorial in range, wielding 160 divisors.
720 6! — and also 8×9×10. A factorial in disguise.

Related Entries

← Number Atlas