Maths Olympiad Prep

Library / /31 of 34

Combinatorics Difficulty 6.2 National olympiad Find the answer

A 4×4 4\times 4 table is divided into 16 16 white unit square cells. Two cells are called neighbors if they share a common side. A [i]move[/i] consists in choosing a cell and the colors of neighbors from white to black or from black to white. After exactly n n moves all the 16 16 cells were black. Find all possible values of n n.

A number or a short expression. Spacing and $ signs are ignored.

Solution

To solve this problem, we must determine the number of moves, n n , necessary to change all 16 cells of a 4×4 4 \times 4 grid from white to black. The transformation involves a series of operations, each toggling the color (from white to black or black to white) of a chosen cell's neighbors.

### Understanding the Pattern:

Each cell in the grid is initially white, and a move affects all neighboring cells of the chosen cell. Since the grid is 4×4 4 \times 4 , each cell generally has 2 to 4 neighbors. Initially, all cells are white. The goal is to turn them black through a series of toggle operations.

### Analyzing Toggle Effects:

For any given cell (i,j) (i, j) , the effect of a move at this position is to switch the colors of its adjacent (neighboring) cells. Since each move changes the color of several cells, we need to balance moves to achieve an overall change of the entire grid state from all-white to all-black.

### Mathematical Exploration:

1. Parity Analysis:
- Each toggle effectively flips the state of the cell from black to white or vice versa. Therefore, an even number of toggles will leave a cell in its original color, while an odd number will change it.

2. Appropriate Move Count:
- By examining specific patterns and sequences of toggles, we determine how many moves are necessary. We develop configurations achieving our transformation goal while experimenting with symmetry and sequence strategies.

3. Construct Strategy:
- Try using diagonal moves or corner-oriented moves which influence the maximal set of neighboring cells in one operation. This strategy optimizes the number of moves needed to control neighboring pattern states.

### Establishing the Sequence of Moves:

- If we consider moves that maximize change effect, we recognize that all these neighboring toggles will have a regular effect over a repeating sequence. The sequence necessary to achieve transform is:
- Start with few moves and expand by logically covering all cells based on their relationship until completed.

4. Calculation Result:
- Extensive analysis shows possible sequences which lead all 16 cells to become black from sequential toggle operations:
6,8,10,12,14,16, \boxed{6, 8, 10, 12, 14, 16, \ldots}

By actively examining interaction of moves and configuration strategy, these values of n n are deduced to be possible from sequential plan optimization in color completion of the grid. Thus, these are the possible values of n n necessary to make the whole 4×4 4 \times 4 table black from conditions described.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.