galois.
factors
Returns the positive factors of the integer \(n\).
n (int) – An integer to be factored.
Sorted array of factors of \(n\).
list
Examples
In [1]: galois.factors(120) Out[1]: [1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, 24, 30, 40, 60, 120]