Problem

Source: New Zealand NZMOC Camp Selection Problems 2013 p8

Tags: Perfect Square, number theory



Suppose that $a$ and $ b$ are positive integers such that $$c = a +\frac{b}{a} -\frac{1}{b}$$is an integer. Prove that $c$ is a perfect square.