Skip to main content
OlympiadHQ

Browse · MathNet

Print

Croatian Junior Mathematical Olympiad

Croatia counting and probability

Problem

A positive integer is good if each side and diagonal of a regular -gon can be coloured in some colour so that for each pair of vertices and there is exactly one vertex , different from and , such that the segments , and have the same colour. Which of the numbers 7, 8, 9, 10, 11 and 12 are good, and which are not? (Ilko Brnetić)
Solution
The numbers 8, 10, 11 and 12 are not good, while 7 and 9 are good.

We first show that even numbers are not good. Let us assume is a good number and consider a fixed vertex of a regular -gon coloured in the required way. For each vertex different from , there is a unique vertex such that the sides of the triangle have the same colour. Hence, we may partition all vertices other than into pairs. This shows that is odd. From this we conclude that 8, 10 and 12 are not good numbers.

Next, we show that numbers of the form are not good. Again, let us assume is good and for a regular -gon coloured in the required way, let be the number of triangles with all sides of the same colour. Each such triangle has exactly three pairs of vertices, while for each pair of vertices of the -gon there is a unique triangle with all the sides of the same colour. This shows that Hence, 3 divides or . This shows that 11 (and, again, 8) are not good.

To show that 7 and 9 are good numbers we construct examples. In the example we denote vertices of the -gon by numbers 1, 2, ..., and write down triples representing triangles that have the sides of the same colour. Note that there should be triples, and for each pair of numbers there should be exactly one triple in which the pair of number occurs together.

For we have the following triples: , , , , , and .

For we have the following triples: , , , , , , , , , , and .
Final answer
7 and 9 are good; 8, 10, 11, and 12 are not good.

Techniques

Counting two waysColoring schemes, extremal arguments