On one square of a 5×5 chessboard, we write -1 and on the other 24 squares +1. In one move, you may reverse the signs of one a×a subsquare with a>1. My goal is to reach +1 on each square. On which squares should -1 be to reach the goal?
Please help me with this problem. I am not able to understand ´how to approach such a problem
Hint: use $0$ instead of $+1$, and $1$ instead of $-1$. Write the state of the board as a vector of 25 elements (reading left-to-right, top to bottom), each of which you should think of as a binary bit.
Now each possible "move" is also a 25-vector, with $1$s in the squares that get "flipped". To apply a "move", you add the move-vector to the starting vector. Your goal is to get a vector of all zeroes. So the question becomes:
Given the $16 + 9 + 4 + 1$ move vectors, let $S$ be their span (over the integers mod 2). Which vectors containing exactly one "1" are in this span?
That's a straightforward (although tedious) computation. You also don't need the four "size four block" vectors, because they're in the span of the size-two block vectors.