Olympiad Maths Prep

Track / Stage 5 / 254 of 400 #854 of 2000

Problem 854

AIME late
Combinatorics Difficulty 5.6 Find the answer

5. Let nn be a natural number and a convex polygon with nn vertices. Each of the sides and diagonals of this polygon is colored either blue or red. Determine the smallest nn such that, for any such coloring, there exist three vertices of the observed polygon that are mutually connected by segments of the same color.

Official solution

5. For n=4n=4, we color the sides in one color, for example, blue, and the diagonals in another - red. It is then obvious that there does not exist a triangle whose vertices are the vertices of this quadrilateral, and all sides are colored in the same color.

!

For n=5n=5, we color the sides in one color, for example, blue, and the diagonals in another - red. It is then obvious that there does not exist a triangle whose vertices are the vertices of this pentagon, and all sides are colored in the same color.

This proves that the desired n>5n>5.

!

Now, let's prove that for any hexagon, no matter how we color each of the sides and diagonals of a regular hexagon in blue or red, there must exist at least one triangle whose vertices are also vertices of the hexagon and whose sides are all colored in the same color.

Consider one vertex of the hexagon, let's call it A. From it, there are five connections to other vertices, which are colored either blue or red.

Since 5=22+15=2 \cdot 2+1, by the Dirichlet principle, there exists a color such that at least three of these connections are colored in that color. For example, let's say it is red.

!

Label the vertices that determine these connections with vertex AA as B,CB, C, and DD, so the red connections are AB,AC\overline{A B}, \overline{A C}, and AD\overline{A D}.

If at least one of the connections BC,BD\overline{B C}, \overline{B D}, or CD\overline{C D} is colored red, we have a monochromatic (red) triangle.

If not, then the triangle BCD\triangle B C D is monochromatic (blue).

Note: If a student does not consider the case n=4n=4 but does consider the case n=5n=5 and shows that it is possible to color the pentagon such that no triangle has monochromatic sides, they do not lose points.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.