I need to find a perfect number using mod division,
what is the formula to find it, using the if loops?