Prime Number Checker
Check whether a number is prime and find its smallest divisor.
Result
Result
Prime
Smallest divisor
97
How it works
Prime = divisible only by 1 and itself
A prime number has exactly two divisors: 1 and itself. If the number isn't prime, the smallest divisor (other than 1) is shown. Example: 97 is prime; 12's smallest divisor is 2.
Advertisement
Frequently asked questions
Is 1 a prime number?
No — a prime needs exactly two distinct divisors, and 1 has only one.
What is the smallest prime?
2 — and it's the only even prime.
Advertisement