how do you do for factors and divisibility