How to calculate
Find the prime powers in the number. Multiply combinations of those powers to generate every positive divisor.
Worked example
Use Whole number 36. The result is 1, 2, 3, 4, 6, 9, 12, 18, 36.
Input notes
Use an integer with absolute value from 1 through 1 trillion. Enter a second number to list only shared divisors.