updates on problem 12 - updated number of divisors using formula