Prime Factorization & Divisors example
Example input
360Expected result
2^3 × 3^2 × 5
24 positive divisors
Divisor sum: 1170The exponents give (3 + 1)(2 + 1)(1 + 1) = 24 divisors. Multiplying the geometric sums (1 + 2 + 4 + 8)(1 + 3 + 9)(1 + 5) gives 1170.