is there a formula for finding factors of a number ?