Try examples
Prime factors of 360
A prime input: 97
A negative input: -84
Decompose an integer into prime powers and repeated prime factors, with division steps and a complete divisor check.
Exact calculation and checks