Patterns /Number Theory

Factorial Numbers

A factorial multiplies together every whole number up to k: 5! = 120, 7! = 5040, 9! = 362880. The next one after that already overshoots a million.

Matches in range
9
Share of all numbers
1 in 111,111
Out of
1,000,001

Factorials grow faster than any exponential, so the range holds only a single-digit number of them — the count above is the smallest on the entire site. Hitting one at random is close to impossible.

Every factorial from 3! upward is highly composite by construction, since it is built from all the small primes at once. That means factorials almost always pick up divisor-count traits as well.

If the Infinite Roll simulator ever lands on one, it is worth a screenshot. The probability simulator will tell you just how long a wait that typically is.

Highest-scoring examples

The best-scoring numbers of four digits or more that carry this pattern. Shorter numbers are excluded here because their length alone dominates any score ranking.

Smallest examples

The first numbers in the range that match this pattern.

Related number theory patterns