Closed christianp closed 2 years ago
In runtime/scripts/math.js, define a function factors(n) which returns all the divisors of a given integer.
runtime/scripts/math.js
factors(n)
In
runtime/scripts/math.js
, define a functionfactors(n)
which returns all the divisors of a given integer.