Skip to main content
OlympiadHQ

Browse · MathNet

Print

Croatia_2018

Croatia 2018 counting and probability

Problem

An square board is given, where is an odd positive integer. Each of the unit segments delimiting the unit squares is coloured either red or blue. It is known that there are no more than red unit segments. Prove that there is a unit square on the board whose border comprises at least three blue segments.
Solution
Assume the contrary, i.e. that there is no square bordered by three or four blue segments. Then each square is bordered by at least two red segments.

Now we count the pairs , where is a unit square, and is a red segment adjacent to . We will count them in two different ways.

Since every square is bordered by at least two red segments, we have at least such pairs. On the other hand, each segment on the edge of the board has only one adjacent square, while the interior segments have two adjacent squares. This shows that we can express the number of pairs as , where is the number of red segments on the edge of the board, and the number of interior red segments. Thus .

Furthermore, since there are no more than red segments, we also have . Adding these two inequalities we get and .

This shows that the inequalities we derived are in fact equalities, so that each square is bordered by exactly two red segments and all the red segments are interior (not on the edge of the board).

Now we checker the board, black-white. Notice that each white square contains exactly two red segments, and that each red segment belongs to a uniquely determined white square. This means that there are red segments, where is the number of white squares. However, this leads to a contradiction because we know that there are exactly red segments, and is odd.

This shows that our assumption was wrong, so there must be some unit square with at least three blue adjacent segments.

Techniques

Counting two waysColoring schemes, extremal arguments