Let $n$ and $p$ be two integers. Show that either $np$ is even, or $n^2 − p^2$ is a multiple of $8$.
If either one of $n$ or $p$ is even then $np$ is even and we are done. So let both of them is odd.
Let $n = 2m+1$ and $p = 2k + 1$. Then $$n^2 − p^2 = 4m^2+4m-4k^2-4k = 4(m-k)(m+k+1)$$
Now if both $m$ and $k$ are odd or even then $8 \mid 4(m-k)$ and we are done. If one is odd and one even then $8 \mid 4(m+k+1)$ and we are done.
So either $np$ is even, or $n^2 − p^2$ is a multiple of $8$.
Is the proof correct?