Re: diophantine equation 1/x + 1/y = 1/n





On Wed, 22 Aug 2007, mukesh tiwari wrote:

hello everybody i want to know how many distinct solution of
equation(1/x+1/y=1/n) for given value of n . for example if n=4 then
three distinct solution (5,20)(6,12) and (8,8).
plz tell me the algorithm to solve this problem . thnkx in advance .


Re-write it as (x-n)*(y-n)=n^2 (keep in mind that x, y are not allowed to
be zero), and take it from there.

Cheers, ZVK(Slavek).
.



Relevant Pages