Let $a$ and $b$ be positive integers such that $ab + 1$ divides $a^2 + b^2$. Show that $(a^2 + b^2)/(ab + 1)$ is a perfect square.
Alternative proof that $(a^2+b^2)/(ab+1)$ is a square when it's an integer