Prime Factorization
Split an integer into prime powers.
Example result
Prime factors: 2^2 × 3^3 × 7
Step by step
- Divide by each candidate prime as many times as possible.
- If a remainder greater than one survives, append it as a prime factor.
Split an integer into prime powers.
Prime factors: 2^2 × 3^3 × 7