Let $m,n$ be integers. If one uses the division algorithm, show that $m^2-n^2$ can have any remainder term $r$, such that $0\le r\le 7$ after dividing by $8$.
I was able to show it for the case when the remainder equals zero, but got stuck after that. I'm not sure if I should write the proof case by case, or do a generalized proof.
TIA