Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ii/paper-1/11i/b/iii/solution

For column , let of the codewords have a one. A pair contributes a one in that column exactly when one word is chosen from those words and the other from the remaining . Hence column contains
ones among all pairwise sums. Part (i), summed over the columns, gives the upper bound
There are rows, one for each unordered pair of codewords. By part (ii), every row has weight equal to that pair's distance, which is at least . Therefore

New to topics? Read the docs here!