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



On Aug 22, 12:32 am, mukesh tiwari <mukeshtiwari.ii...@xxxxxxxxx>
wrote:
hello everybody i want to know how many distinct solution of
equation(1/x+1/y=1/n) for given value of n .

If you are allowing negative integers, the answer is the number of
factors of (n^2). If you want only positive solutions, take the number
of factors of n^2, add 1, and then divide the whole thing by 2.

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 .

Basically, you combine the terms of 1/n - 1/y and use the fact that
this fraction reduces to 1/x.

--- Christopher Heckman



.