This is because the equation.
$$\frac{1}{n}=\frac{1}{x}+\frac{1}{y}$$
If the square lay on multipliers. $n^2=ks$
Then the solution can be written.
$$x=n+s$$
$$y=n+k$$
Although in the General case can be any character. Though it is necessary to mention another solution.
For the equation: $$\frac{1}{X}+\frac{1}{Y}=\frac{1}{A}$$
You can write a simple solution if the number on the decomposition factors as follows: $$A=(k-t)(k+t)$$
then: $$X=2k(k+t)$$ $$Y=2k(k-t)$$ or: $$X=2t(k-t)$$ $$Y=-2t(k+t)$$
Although these formulas give one and the same solution.