factors

ketos.utils.factors(n)[source]

Returns sorted set of all divisors of n

Args:
n: int

Integer number

Returns:
s: set

Sorted set of all divisors of n