Maths Olympiad Prep

Library / /37 of 136

Combinatorics Difficulty 7.7 National Olympiad, round 2 Prove it Hong Kong

Given a 24×2424 \times 24 square grid, initially all its unit squares are coloured white. A move consists of choosing a row, or a column, and changing the colours of all its unit squares, from white to black, and from black to white. Is it possible that after finitely many moves, the square grid contains exactly 574 black unit squares?

Solution

No, it is not possible.
Suppose it is possible that after finitely many moves, the square grid contains exactly 574 black unit squares. Then there are exactly 24×24574=224 \times 24 - 574 = 2 white unit squares. No matter where the white unit squares are, we can always find a 2×22 \times 2 square that contains exactly 1 white unit square and 3 black unit squares. One checks that the parity of the number of white cells in this 2×22 \times 2 square is fixed no matter how we choose the rows or columns in a move. Therefore, it is

impossible that all the four cells are white initially. This is a contradiction, and
so it is impossible to have exactly 574 black unit squares.

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: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.