How to show that $16n^2 + 16n+1 \neq m^2$ with $n, m \in \mathbb{N}$ ?
I already know that $m$ needs to be an odd number because:
$16n^2 + 16n + 1 \equiv 1 \mod{4}$
I can complement the square by:
$(4n+1)^2 - 8n \neq m^2$
But from this point on, I dont know how to go on.
$16n^2 + 16n + 1$ reminds me of $4n^2 + 4n + 1 = (2n+1)^2$.
It isn't, but it reminds me. SO if we muck about....
$16n^2 + 16n + 1 = 4(4n^2 + 4n + 1) -3= 2^2(2n+1)^2 - 3= (2(2n+1))^2 -3$.
If we replace $2(2n+1)$ with $K$ and we assume $16n^2 +16n+1 = m^2$ we get:
$16n^2 + 16n + 1 = (2(2n+1))^2 - 3 = K^2 - 3 = m^2$.
$K^2 - 3 = m^2$ and $K^2 - m^2 = 3$ and $(K-m)(K+m) = 3$.
Assuming that $K$ and $m$ are both positive with must have
$K-m = 1$ and $K + m = 3$ which means $m=1$ and $K = 2$ (and $2^2 - 1^2 =3$).
So $2(2n+1) = 2$ or $n =0$