Exercise
Consider the 6×6-matrix (aij) with aij = ij mod 7 (0 < i, j < 7). We turn this matrix into a detection pattern of size 6 by changing all entries containing a 1 into black squares and all other entries into white squares. What is the overlap of the resulting detection pattern?