Prime Numbers List Calculator
Enter a range to list its primes, or ask for the nth prime.
A whole number from 1 to 100 000.
Try
Result
You entered
Primes up to it
Show the work
Sieve of Eratosthenes
For the th prime is smaller than , so sieving the numbers up to is guaranteed to reach it. Cross out the multiples of each prime, then count the numbers left.
Using
Counting to the 100th prime
Counting the primes in order from 2, the th one is the answer.
Result
The 100th prime is .