I was asked the following question:
for each integer $n>1$, find distinct positive integers $x$ and $y$ such that
$\frac{1}{x} + \frac{1}{y} = \frac{1}{n}$
This is what I got so far:
Doing some algebra we can see that $(x,y)$ have to be integers such that $\frac{xy}{x+y}=n$ and from here we can obtain the following expression $y=n(\frac{x}{x-n}) $.From this expression we can see some stuff like $x>n$. By playing with it for a bit, I reached the conclusion that for each $n$ the $(x,y)$ that work are (n+1,n(n+1)),(2n,2n). by plugging them in into $y=n(\frac{x}{x-n}) $ we can see that these points work however I do not know how to show these points are the only points that work.
Thank you, any help is appreciated.
They aren't the only ones that do work. Well, here's my solution: $$\frac{1}{x}+\frac{1}{y}=\frac{1}{n}$$ $$\iff x+y=\frac{1}{n}\cdot xy$$ $$\iff x(1-\frac{y}{n})+y=0$$ $$\iff \frac{x}{n}(n-y)+y=0$$ $$\iff -\frac{x}{n}(y-n)+y-n=-n$$ $$\iff (1-\frac{x}{n})(y-n)=-n$$ $$\iff (x-n)(y-n)=n^2$$ So, let $a$ be an arbitrary positive divisor of $n^2$, then $$x \in S = \{a+n: a\ |\ n^2\}$$ $$y \in \{\frac{n^2}{x-n}+n:x\in S\}$$ Or $$x \in S = \{-a+n: a\ |\ n^2, a \ne n\}$$ $$y \in \{\frac{n^2}{n-x}+n:x\in S\}$$
For example, some known solutions are $(x,y) \in \{(n^2+n,n+1),(n+1,n^2+n),(n-n^2,n-1),(n-1,n-n^2),(2n,2n)\}$