Maths Olympiad Prep

Track / Stage 6 / 272 of 400 #1752 of 2444

Problem 1752

National Olympiad, first round
Combinatorics Difficulty 6.6 Prove it NZMO Round Two · New Zealand

At each vertex of a regular 1414-gon, lies a coin. Initially 77 coins are heads, and 77 coins are tails. Determine the minimum number tt such that it's always possible to turn over at most tt of the coins so that in the resulting 1414-gon, no two adjacent coins are both heads and no two adjacent coins are both tails.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

Solution:

Number the vertices from 11 to 1414. We need to make sure that all the even-numbered vertices are tails and all the odd numbered vertices are heads or vice versa.

Let's look at the 77 odd numbered vertices.

Without loss of generality, assume that there are initially more heads than tails on the odd numbered vertices. That is, we assume that there are initially at least 44 heads on odd numbered vertices. This means there are at most 33 tails on odd numbered vertices and at most 33 heads on even numbered vertices. So we flip all the tails on odd numbered vertices and all the heads on even numbered vertices. Then the total number of flips required is at most 66.

If there are exactly 44 heads (and 33 tails) on odd numbered vertices, then we would require at least 33 flips to make all the odd numbered vertices the same, and similarly at least 33 flips to make the even numbered vertices the same. So we cannot guarantee to be able to achieve our goal in fewer than 66 flips.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.