Playing With Divisors Is Fun

I am not getting the solution of the problem