Prime Number Calculator
Test a whole number for primality and meet its neighbouring primes.
A whole number from 1 to 1 000 000 000 000
Try
Result
You entered
Next prime
Show the work
Prime number
A prime has exactly two factors, and itself. No whole number between and divides , so it is prime.
Result
So is prime.