What is the 24th prime number?

The story behind the answer

The 24th prime number is 89. Counting upward from 2, the prime sequence reaches 89 after 83 and before 97, making 89 the twenty-fourth number with exactly two positive divisors.

The opening primes are 2, 3, 5, 7, 11, and 13. As the numbers grow, composite numbers such as 87 and 88 are skipped because they have factors beyond 1 and themselves. The primes immediately around 89 are 83 and 97, so no prime is missing between those neighboring values.

The number 89 has several notable mathematical properties. It is a Chen prime, a Pythagorean prime, a Fibonacci prime, and the 11th Fibonacci number. It is also a Sophie Germain prime because 2 × 89 + 1 = 179, which is prime.

The answer is sometimes confused with 97, which is the 25th prime, or 83, which is the 23rd. A reliable way to check the count is to list the primes in order rather than simply testing whether a candidate is prime.

Source: Wikipedia · fact-checked Aug. 2026

Add question to a list

Choose a list to keep this question in: