Possible Duplicate:
Alternative proof that $(a^2+b^2)/(ab+1)$ is a square when it's an integer
Whenever $1+ab$ divides $a^2+ b^2$, I need to prove that $\frac{a^2+b^2}{1+ab}$ will be a perfect square.
This is the last problem in Exercise 1.3 of number theory book by Ivan Niven. The chapter only has dealt with GCD and LCM concepts so far, along with a few division algorithms. However using the abovesaid principles I have failed to reach any solution.
So any help please?