The Prime Number Generator generates prime numbers either in a given range (min–max) or as the first N primes. All computation runs in your browser.
It produces a list of prime numbers. You can either request "first N primes" (e.g. first 20) or "all primes in range" (e.g. from 2 to 100). Useful for math, cryptography examples, or algorithms.
It generates prime numbers: either all primes in a min–max range or the first N primes.
Range is limited (e.g. up to 1e6) and count up to a few thousand to keep the browser responsive.
Primes are computed with trial division. Very large ranges may take longer.
Yes. All computation runs in your browser; nothing is sent to a server.
Use it for math homework, cryptography examples, or to get a list of primes for algorithms.
Check that min ≤ max and that the range contains primes (e.g. 2 is the only even prime).
Use the Prime Number Generator to generate primes by count or range. See also Fibonacci Generator and Random Fraction Generator.