Let be a positive integer that is coprime to . We color the vertices of a regular -gon with three colors such that for each color, the number of vertices colored with it is odd.
Prove that there always exists an isosceles triangle whose vertices belong to the vertices of the -gon and are all differently colored.
Problem 1776
Official solution
Solution:
Let be the numbers of isosceles triangles whose vertices show exactly , , or colors, respectively. We assume that holds. Let the colors be red, green, and blue, where , and denote the (odd) number of vertices colored in each respective color. We now determine in two ways the number of pairs , where is an isosceles triangle with more than one vertex color and is a side of this triangle whose endpoints are colored with different colors.
Since , the vertices of such a triangle must show exactly two colors, one of which belongs to two vertices that are each endpoints of a side . Thus each triangle contributes two pairs, and it follows that .
For any two vertices and , there are exactly three distinct vertices that form an isosceles triangle with and : either or or . None of these possibilities can coincide, since otherwise would be equilateral and would be divisible by . The case exists because is odd, and therefore the perpendicular bisector of passes through exactly one further vertex. Hence, starting from two differently colored vertices and , we have . This term is odd by assumption, contradicting . Therefore must hold.