Work out divisors of a number instantly with clear inputs, formula shown and shareable results.
Divisors come in pairs multiplying to n, so testing only up to √n finds them all. The count follows directly from the prime exponents as Π(eₖ + 1).
Divisor pairing
if d divides n then so does n/d, so search only to √n
24, since 360 = 2³ × 3² × 5 gives 4 × 3 × 2.
Any divisor other than the number itself. For 360 that means the 23 divisors from 1 to 180.