Project Euler #157: Solving the diophantine equation 1/a +1/b = p/10^n