Find all positive integer $n$ such that $n^2 + 2^n$ is a perfect square.
Let $2^n + n^2=k^2$. Then $2^n=(k-n)(k+n) \implies k+n = 2^a, k-n=2^b$ where $a \ge b, a + b=n$