Question 171
Let $a$ and $b$ be positive integers. Prove that if
$$
a+\frac{b}{a}-\frac{1}{b}
$$
is an integer, then it is a perfect square.
$$
a+\frac{b}{a}-\frac{1}{b}
$$
is an integer, then it is a perfect square.
Math Olympiad Vault · MathNet 2017-part-02 — 176 problems (EN–VI)