An n x n matrix is said to be completely-odd if:
the numbers in the matrix are either 0 or 1
and
for every number in the matrix, the sum of the numbers in its neighborhood is odd where the neighborhood of a number includes the number itself and its horizontally and vertically adjacent numbers.
EXAMPLE:
Shown below are three views of the same 4x4 completely-odd matrix:
The number in row 1 column 1 with its neighborhood highlighted has a neighborhood sum of 1+0+0=1 which is odd:
The number in row 1 column 2 with its neighborhood highlighted has a neighborhood sum of 1+0+1+1=3 which is odd:
The number in row 3 column 2 with its neighborhood highlighted has a neighborhood sum of 1+1+1+1+1=5 which is odd:
PUZZLES:
Can you construct a 5x5 completely-odd matrix?
Can you construct a 6x6 completely-odd matrix?