Find the prime factors of a number
Divide by the smallest prime factor, then continue factoring the quotient. For 360, the prime factors are 2 × 2 × 2 × 3 × 3 × 5.
When the input is prime
A prime input appears by itself. For example, 97 has the prime factorization 97. This calculator accepts integers from 2 through one trillion.