Maths Olympiad Prep

Library / /3 of 3

Combinatorics Difficulty 6.1 National olympiad Prove it North Macedonia

On a board there are nn nails each two connected by a string. Each string is colored in one of nn given distinct colors. For each three distinct colors, there exist three nails connected with strings in these three colors. Can nn be
a) 66?
b) 77?

Solution

a. The answer is no.

Suppose it is possible. Consider some color, say blue. Each blue string is the side of 44 triangles formed with vertices on the given points. As there exist (52)=542=10\binom{5}{2} = \frac{5 \cdot 4}{2} = 10 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 33 blue strings (otherwise the number of triangles with a blue string as a side would be at most 24=82 \cdot 4 = 8, a contradiction). The same is true for any color, so altogether there exist at least 63=186 \cdot 3 = 18 strings, while we have just (62)=652=15\binom{6}{2} = \frac{6 \cdot 5}{2} = 15 of them.

b. The answer is yes.

Put the nails at the vertices of a regular 77-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).

Figure 1

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.