Problem

Source: 2018 Thailand TST 1.2

Tags: graph theory, combinatorics, geometry, combinatorial geometry



A positive integer $n < 2017$ is given. Exactly $n$ vertices of a regular 2017-gon are colored red, and the remaining vertices are colored blue. Prove that the number of isosceles triangles whose vertices are monochromatic does not depend on the chosen coloring (but does depend on $n$.)