factors#
- arte.math.factors.factors(n)#
Returns a list of factors of n. No attempt at performance optimisation, use sparingly.
- arte.math.factors.gcd(a, b)#
Returns the greatest common divisor of a and b.
- arte.math.factors.lcm(a, b)#
Returns the least common multiple of a and b.