powered by
Function to get all factors (not limited to prime factors) of an integer.
factors(x)
A single integer; no vector.
A numeric vector with the factors
based on stackoverflow.com/questions/6424856 "R Function for returning ALL factors" answer by Chase