MATMathematics
Prime Factorization
Find the prime factors of any number. See the complete prime factorization, check if a number is prime, and count total divisors.
Try an example
How It Works
Formula
Where
- The integer being factored (n ≥ 2)
- The i-th distinct prime factor of n
- The exponent of the i-th prime in the factorization
- Number of distinct prime factors
- Total number of positive divisors of n
The calculator uses trial division: it divides the number by each integer starting from 2, counting how many times each prime divides evenly. The process continues until the remaining quotient is 1.