I just finished the following question:
Find all positive integers $N$ such that $N\times 2^{N+1}+1$ is a perfect square
I solved it in the following way:
$N\times2^{N+1}+1=k^2$ for $k\in Z$
$N\times2^{N+1}=(k-1)(k+1)$
So we have that $(k-1)(k+1)\equiv0 \pmod 2$, so $k+1 \equiv0\pmod2$ and $k-1\equiv0\pmod2$.
Since $k+1$ and $k-1$ differ by just 2, and they are both even, then one of the two is a multiple of $2^b$, where $b\in Z$ and $b>1$ and the other if divided by two, the result is odd. From this and the fact that $k+1>k-1$ we have that:
$k+1=2^N$ and $k-1=2N$ (since $2^N>2N$).
So $2N+2=2^N$ for which $N=3$ is the only solution. This can be proved as follows:
We have $f$ such that $f(x)=2x+2$, so $f'(x)=2$ and $g$ such that $g(x)=2^n$, so $g'(x)=\ln(2)\times2^x>2$
So the only solution is for $N=3$.
I find my logic overly complex and laborious, could you please suggest some alternative approaches?