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

  1. Test candidates up to the square root of the integer.
  2. Pair every divisor with its quotient and sort the results.