get_all_factors {anomalyDetection} | R Documentation |
get_all_factors
finds all factor pairs for a given integer (i.e. a number
that divides evenly into another number).
get_all_factors(n)
n |
number to be factored |
A list containing the integer vector(s) containing all factors for the given
n
inputs.
http://stackoverflow.com/a/6425597/3851274
# Find all the factors of 39304 get_all_factors(39304)