Prime Number Calculator

Test if a number is prime, discover its divisors, and generate primes in any range.

Primality Test & Divisors

97 is a PRIME number!
Prime Factors: 97
All Divisors: 1, 97

Generate Prime Numbers in a Range

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

Fundamental Theorem of Arithmetic

View All Math Formulas Handbook →

Prime Factorization Representation

Every integer $n > 1$ has a unique representation as a product of prime powers:

$$ n = \prod_{i=1}^{k} p_i^{a_i} = p_1^{a_1} \times p_2^{a_2} \times \dots \times p_k^{a_k} $$

Related Calculators