Runs in your browser — nothing is uploaded
—
Details
How to use Prime Number Checker
Test a number for primality and see its factors.
- Enter a whole number.
- See whether it’s prime, its factors and neighbouring primes.
About Prime Number Checker
A prime number has exactly two divisors, 1 and itself. 2 is the only even prime, and 1 is not prime. Every whole number above 1 can be written as a product of primes in exactly one way.
To test a number, it is enough to check divisors up to its square root. Primes are the basis of modern encryption, which relies on how hard it is to factor very large numbers.
Questions
Is 1 a prime number?
No. A prime has exactly two divisors: 1 and itself. 1 has only one, so it is neither prime nor composite.
Is 51 prime?
No. 51 = 3 × 17.
How many primes are there?
Infinitely many, as Euclid proved more than 2,000 years ago.