Factors
List all positive divisors of an integer.
Example result
Positive factors: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72
Step by step
- Test candidates up to the square root of the integer.
- Pair every divisor with its quotient and sort the results.
List all positive divisors of an integer.
Positive factors: 1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72