Find all positive integers $n$ such that $\sqrt{1996\cdot1997^n+1997 }$ is a perfect square.
So, I've attempted looking at modulo 4, as a perfect square is congruent to 0 or 1 (mod 4), but that was useless. I tried looking at modulo 3 and got that n is odd, but I don't know what to do further.
Hint
$$1996\cdot 1997^n+1997=(1997-1)1997^n+1997=$$ $$1997^{n+1}-1997^n+1997=1997(1997^n-1997^{n-1}+1)=k^2$$
but $1997$ is a prime number and $n>0$, so $1997|(1997^n-1997^{n-1}+1)\to 1997|(1997^{n-1}-1)$.
So, what is the only one solution? Can you finish?