quadratic character of 2
For any odd prime , Gauss’s lemma quickly yields
(1) | |||||
(2) |
But there is another way, which goes back to Euler, and is worthseeing, inasmuch as it is the prototype of certain more general argumentsabout character sums.
Let be a primitive eighth root of unity in an algebraic closure
of , and write .We have ,whence , whence
By the binomial formula, we have
If , this implies .If , we get instead .In both cases, we get ,proving (1) and (2).
A variation of the argument, closer to Euler’s, goes as follows.Write
Both are algebraic integers. Arguing much as above, we end up with
which is enough.