murshid_islam said:
Werg22's method in the post#4 seemed really complicated and i didn't understand half of it. can anyone please check if there is any problem with this method:
\frac{1}{x} + \frac{1}{y} = \frac{1}{z}
if i put x = z+a and y = z+b, (where and b are integers) the equation becomes:
\frac{1}{z+a} + \frac{1}{z+b} = \frac{1}{z}
\frac{2z + a + b}{z^2 + az + bz + ab} = \frac{1}{z}
2z^2 + az + bz = z^2 + az + bz + ab
z^2 = ab
now we just have to factor z2. for example if the equation was
1/x + 1/y = 1/2007
we would put x = 2007+a and y = 2007+b and eventually get (2007)2 = ab. and then we just have to factor (2007)2 to find a and b.
That's a good solution Murshid.
I had another solution that I didn't post. I won't post the details but I followed a similar path to werg to get it. In particular I assummed that x and y must have a common factor (something that at the time I couldn't really justify).
My solution was basically this. Let jk be factor of z. That is, z = ajk. Then
x = aj (j+k)
y = ak (j+k)
are solutions to your equation (1/x + 1/y = 1/z).
I like your solution a lot better. It was derived without the assumption of x and y sharing a common factor, though interestingly it can be used to prove that x and y must indeed have this common factor.
A rough proof that x and y (as per your solution) contain a non trivial common factor is as follows.
Let x = a + z and y = b + z,
where a and b are any factor pair of z^2
Since perfects squares must have all their prime factors in pairs, and since ab=z^2, then either a and b are themselves both perfect squares or they contain at least one common factor.
Case 1 : a and b are not perfect squares.
As above, a and b contain at least one common prime factor. Also z contains all the prime factors of z^2, so z shares the same common factors as a and b above (since z^2=ab). These common factors are thereofore also common factors of x and y.
Case 2 : a and b are both perfect squares.
In this case we just rewrite x and y as,
x = sqrt(a) (sqrt(a) + sqrt(b))
y = sqrt(b) (sqrt(a) + sqrt(b))
So clearly x and y have a common factor.
So the original hunch that x and y must have a common factor was indeeed correct.