Which one of the numbers below can be expressed as the sum of the squares of 6 odd integers?
$${1998,1996,2000,2002,2004}$$ I first started this by saying if $m$ is odd then $m = 2k+1$ so $$m^2 = 4k^2+4k+1$$ so $$m^2-1 = 4k(k+1)$$ I'm stuck now and any help will be appreciated.
An odd integer is congruent $1$ mod $4$. Hence the sum of six odd integers is congruent $2$ mod $4$. This leaves only $1998$ and $2002$. Also it must be congruent $2$ mod $8$.This leaves only $1998$. And indeed, we have $1998=43^2+11^2+3^2+3^2+3^2+1^2$.