summer math challenge

# Grid solution

## Lecturer Adolfo Quirós brings us the answer to the first of our summer math challenges

Adolfo Quirós, the vice-president of the Spanish Royal Mathematics Society, lecturer at the Madrid Autonomous University and coordinator of this section, brings us the solution to the first of EL PAÍS’ summer math challenges. The winner of the Grandes Ideas de la Ciencia (or, Major Ideas from Science) collection of books is Guillermo Vicente, an aeronautical engineer from Sabadell who now lives in Torrelodones (Madrid).

To avoid confusion, we have included the solution in written form below.

First let’s consider the ACB rules: the values of all the boxes can be changed in a column, row, or one of the diagonals. Any of these movements will change the sign in four boxes, meaning that if we start with an odd number of -1s, the product will continue to be -1 after any movement. As such we cannot end up with a 1 in all of the boxes in either Grid A nor Grid B.

Using the NBA rules, where we can also change the values of all the boxes using a parallel line to the diagonals, the number of changes can be odd or even. In fact, starting with Grid A, you can win in two steps, as indicated by the shaded boxes in this diagram:

However, if we look at Grid B and the shaded boxes (see the diagram below) we can see that any of the movements allowed by the NBA rules change an even number (none or two) of these boxes. And as there are three -1 you cannot win the game using Grid B.

Rules