Prime Number Checker
One entry per line - check primality, list primes in a range, or find the Nth prime
Mode:
Max results:
Separator:
Calculation Result
Download CSV
| No. | Value | Result | Detail |
|---|
Introduction to the tool and how to use it
Test primality, generate prime lists and look up the Nth prime - three common jobs in one box, one entry per line.
How to use:
1. Pick a mode:
- Check: one integer per line, e.g.
- List: one range per line, e.g.
- Nth prime: one index per line, e.g.
2. Hit Run to get the verdict, the number of primes or the Nth prime;
3. Copy the result or export it as CSV.
Composites come with their smallest prime factor (360 = 2 x 180) while primes are marked as yes. Big integers are tested with BigInt plus Miller-Rabin (deterministic below 2^64), and ranges use a sieve of Eratosthenes that answers instantly below 5,000,000.
How to use:
1. Pick a mode:
- Check: one integer per line, e.g.
97;- List: one range per line, e.g.
100,200;- Nth prime: one index per line, e.g.
1000;2. Hit Run to get the verdict, the number of primes or the Nth prime;
3. Copy the result or export it as CSV.
Composites come with their smallest prime factor (360 = 2 x 180) while primes are marked as yes. Big integers are tested with BigInt plus Miller-Rabin (deterministic below 2^64), and ranges use a sieve of Eratosthenes that answers instantly below 5,000,000.
Prime test
Primes between 100 and 200
Between 100 and 200 there are 21 primes, from 101 up to 199.
- Range100 ~ 200
- Divisors21
- Smallest prime in range101
- Largest prime in range199
Primes in range
| # | Prime |
|---|---|
| 1 | 101 |
| 2 | 103 |
| 3 | 107 |
| 4 | 109 |
| 5 | 113 |
| 6 | 127 |
| 7 | 131 |
| 8 | 137 |
| 9 | 139 |
| 10 | 149 |
| 11 | 151 |
| 12 | 157 |
| 13 | 163 |
| 14 | 167 |
| 15 | 173 |
| 16 | 179 |
| 17 | 181 |
| 18 | 191 |
| 19 | 193 |
| 20 | 197 |
| 21 | 199 |
- Large numbers are decided with Miller-Rabin (12 bases), which is deterministic below 2^64.
Common inputs
Message board
All messages →-
No one has spoken up yet — want to go first?