Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 2 12I ii Solution Created 2026-09-24 Updated 2026-10-03
Sum all nonzero vectors of . In each coordinate, exactly vectors have entry one, which is even because . The sum is therefore zero, soThus the all-one word belongs to the Hamming code and has Hamming weight .
Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 1 3K i Solution Created 2026-09-24 Updated 2026-09-25
For a binary block code, is the common length of its codewords, is the number of codewords, andis its minimum Hamming distance.
The parity extension isEvery extended word has even Hamming weight. The distance between two words increases by one exactly when their original distance is odd, so
Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 2 12K c Solution Created 2026-09-24 Updated 2026-09-25
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.
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 3 3K b ii Solution Created 2026-09-24 Updated 2026-09-25
A square-free monomial in variables of degree evaluates to one at exactly points of , an even number. Since parity of Hamming weight is a linear functional over , every sum of such evaluation words also has even weight. Hence every word in has even weight.
If and have degrees at most and , then has degree at most . The binary inner product of their evaluation words is the parity of the weight of the evaluation of , and is therefore zero. ThusFinally, binomial symmetry givesso the inclusion has equal dimensions andThis is the Dual of a Reed-Muller code.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 215 2 c Solution Created 2026-09-24 Updated 2026-09-25
The urn count is the lumped Markov chain obtained from the lazy hypercube walk by recording its Hamming weight. Starting from , the hypercube law is uniform on every Hamming sphere, as is its stationary law conditional on the sphere. Consequently the total variation distance of the full walk from stationarity equals that of its Hamming-weight projection.
Weight enumerator Created 2026-10-05 Updated 2026-10-07
The homogeneous weight enumerator of a length- linear code is the polynomialIts coefficients count words of each Hamming weight. In this convention ; some references interchange .