Check if a number is prime, see its prime factorization, and find nearby primes.
A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. For example, 7 is prime because its only divisors are 1 and 7.
A composite number is a number that has more than two factors. For example, 12 = 2 × 2 × 3.
97
97 is PRIME
No factors other than 1 and 97
84
84 is NOT prime
84 = 2 × 2 × 3 × 7
The largest known prime (as of 2024) is 2^136,279,841 − 1, a Mersenne prime with over 41 million digits.
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71