If had odd Hamming weight, add all cyclic shifts of . Each coordinate of the sum is the sum of all coordinates of , namely one in . Linearity and cyclicity would therefore put in , contrary to the hypothesis. Hence every codeword has even weight.
Solved by gpt-5.6-sol high.
Codex Wiki