Let be a convex polygon each of which sides and diagnoals is colored with one of distinct colors. For which does: there exists a coloring method such that for any three of colors, we can always find one triangle whose vertices is of ' and whose sides is colored by the three colors respectively.
Solution
Let be a convex -polygon where each side and diagonal is colored with one of distinct colors. We need to determine for which there exists a coloring method such that for any three of the colors, we can always find one triangle whose vertices are vertices of and whose sides are colored by the three colors respectively.
First, we observe that cannot be even. This is because if any two distinct triangles get different color triples, there must be exactly triangles that get color , and since every segment is part of exactly triangles, there must be segments of color . This is an integer only if is odd.
For odd , consider the following coloring method: label the vertices with and color segment by the -th color.
To verify that this works, assume for two triangles and we have , , and . Then we would have:
which implies . Since is odd, we also have , and as , it must be that . Similarly, and , so the triangles were not different after all and the coloring is as desired.
Therefore, the answer is: must be odd}}.