Generates all proper divisors of a number (divisors that are less than n). A proper divisor of n is any positive integer that divides n evenly, except for n itself.
The number to find proper divisors for
Each proper divisor of n in ascending order
G.pipe( G.properDivisors(12), G.array) // [1, 2, 3, 4, 6] Copy
G.pipe( G.properDivisors(12), G.array) // [1, 2, 3, 4, 6]
Generates all proper divisors of a number (divisors that are less than n). A proper divisor of n is any positive integer that divides n evenly, except for n itself.