All factors
—
List all factors (divisors) of a number.
Unlike prime factorization, this lists every number that divides evenly into your input — including 1 and the number itself.
checks every integer up to √n and pairs it with n ÷ that integer