moved sum of divisors to MathUtil class