Maths Olympiad Prep

Library / /12 of 15

Combinatorics Difficulty 5.5 AIME, harder Prove it United States

Problem:

A computer screen shows a 98×9898 \times 98 chessboard, colored in the usual way. One can select with a mouse any rectangle with sides on the lines of the chessboard and click the mouse button: as a result, the colors in the selected rectangle switch (black becomes white and white becomes black). Determine the minimum number of mouse-clicks needed to make the chessboard all one color.

Solution

Solution:

The minimum number of clicks needed is 9898. One way to do this is to click all the even numbered rows one by one (4949 clicks), then all the even numbered columns one by one (another 4949 clicks).

To show that this is minimal, note that there are 4×974 \times 97 pairs of adjacent squares along the border, and that any such pair is mismatched. Each click can fix at most 44 adjacent pairs along the border, so it can reduce the number of mismatched pairs by at most 44, and thus at least 9797 clicks are necessary. However, since the corners are not all the same color, some of the clicks also need to deal with corner squares and thus can only reduce the number of mismatched border pairs by 22. Thus, we need at least 9898 clicks total, so this is indeed the minimum.

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.