Browse · MathNet
PrintXVI-th Junior Balkan Mathematical Olympiad
North Macedonia counting and probability
Problem
On a board there are nails each two connected by a string. Each string is colored in one of given distinct colors. For each three distinct colors, there exist three nails connected with strings in these three colors. Can be a) ? b) ?

Solution
a. The answer is no.
Suppose it is possible. Consider some color, say blue. Each blue string is the side of triangles formed with vertices on the given points. As there exist pairs of colors other than blue, and for any such pair of colors together with the blue color there exists a triangle with strings in these colors, we conclude at least blue strings (otherwise the number of triangles with a blue string as a side would be at most , a contradiction). The same is true for any color, so altogether there exist at least strings, while we have just of them.
b. The answer is yes.
Put the nails at the vertices of a regular -gon and color each one of its sides in a different color. Now color each diagonal in the color of the unique side parallel to it. It can be checked directly that each triple of colors appears in some triangle (because of symmetry, it is enough to check only the triples containing the first color).
Suppose it is possible. Consider some color, say blue. Each blue string is the side of triangles formed with vertices on the given points. As there exist pairs of colors other than blue, and for any such pair of colors together with the blue color there exists a triangle with strings in these colors, we conclude at least blue strings (otherwise the number of triangles with a blue string as a side would be at most , a contradiction). The same is true for any color, so altogether there exist at least strings, while we have just of them.
b. The answer is yes.
Put the nails at the vertices of a regular -gon and color each one of its sides in a different color. Now color each diagonal in the color of the unique side parallel to it. It can be checked directly that each triple of colors appears in some triangle (because of symmetry, it is enough to check only the triples containing the first color).
Final answer
a) no; b) yes
Techniques
Counting two waysColoring schemes, extremal arguments