Skip to main content
OlympiadHQ

Browse · MathNet

Print

55rd Ukrainian National Mathematical Olympiad - Fourth Round

Ukraine counting and probability

Problem

There is a white square . In one move Dmitry can choose a totally white square and paint in black color any two cells of this square, located on the diagonal. What is the maximum number of cells according to the following rules Dmitry will paint?

problem


Fig. 31

problem


problem


problem
Solution
Answer: 42.

First show how to achieve the required number of colorings. In each box will painting in such sequence. First select all four squares , on which the square is split and paint diagonals, as shown in Fig. 31 (black squares). After this there is a completely white square inside. We paint any of the diagonals (gray squares). Upon completion of painting all four squares in the center of square there is completely white square, where we can paint two more cells. In total: of squares .

Now show that the greater amount of paint cannot be achieved. Along with a given square (call him «initial») consider square, that formed from centers of the squares of the initial square (we call it «central»). Coloring the diagonal of the square in the initial square corresponds to drawing a diagonal in the central square (Fig. 32).

Fig. 32

Now it is easy to see that in two adjacent squares of the central square the diagonals can't be drawn. Let us consider rectangle of the central square. We will show that it is impossible to draw diagonals in exactly half of all squares. Assume the contrary. Then the diagonals are drawn in six squares . Let us choose four squares A, B, C, D, that contains diagonals and there is no corners among them (Fig. 33). Let us show that it is impossible to draw diagonals in all of them. WLOG the first diagonal is drawn in the square A, in the direction that is shown at Fig. 8. Then in the square C it is impossible to draw a diagonal. So in the rectangle it is possible to draw not more than 5 diagonals. Then divide square into four rectangles and square , as it shown at Fig. 34. Then the maximum number is in total, that is exactly 42 colored squares.

Fig. 33

Fig. 34
Final answer
42

Techniques

Coloring schemes, extremal arguments