I'm given the task:
Prove that a positive integer is expressible as the difference of two squares of integers if and only if it is not of the form $4n+2, n\in\mathbb{Z}$
I was given a hint that I can just explicitly express $4n$, $4n+1$, and $4n+3$ as the difference of two squares to prove the $\rightarrow$ direction.
Probably a trivial question but how do I go about representing an integer of the form $k = 4n+1$ for $k, n \in \mathbb{Z}$ as the difference of two squares?
And why does this procedure satisfy the 'if'-portion of the proof?
Hint The difference of $(m + 1)^2$ and $m^2$ is $2 m + 1$.
The $\Leftarrow$ (if) direction just asserts that if an integer does not have the form $4 n + 2$ then it is expressible as a difference of squares. But any integer has the form $4 n$, $4 n + 1$, $4 n + 2$, or $4 n + 3$ for some $n$, so this direction is equivalent to showing that general integers of each of the other three forms is expressible as such a difference.