Calcsite / Math / Prime Number Checker
Math

Prime Number Checker

Check whether a number is prime.

Prime Number Checker

How this calculator works

This checks divisibility up to the square root of the number — result shows 1 for prime, 0 for not prime.

Formula

a prime number has no divisors other than 1 and itself