It’s the third post about that competition. In the previous two, the problems #4 given at the grades 11 and 12 were considered. Here is the fourth problem of the grade 10.
Problem 10.4. Let be a complete graph with vertices (every two vertices are connected), which edges are colored. We say the edges of are regularly colored if the edges of any triangle are either of the same color or of distinct colors.
a) Prove that in any regularly colored the number of used colors is at least providing at least two colors present.
b) Does there exists a regular coloring of using exactly colors?
Solution
Part a) Assume on the contrary, the colors are at most . Take some vertex . Among all edges incident with it, there are at least edges of the same color, say white. The set of the vertices, is connected to along these edges, plus comprises a clique. Indeed, if for some the color of is not white, it would contradict to the requirement. Let be the maximal clique containing . Take a vertex . Such one does exist, otherwise there would be only one color used. Two observations.
- There is no white edge among the edges . Indeed suppose some is white. Then all are also white, since is white. A contradiction with the maximality of .
- All edges must be of distinct colors. Indeed if there are two ones of the same color, that color should be white, a contradiction with the first observation.
By the second observation there are at least distinct colors. To recap, we assumed there are at most colors and established there are at least ones. To get a contradiction it’s enough to establish
But it’s easily checked that even .
Part b) We prove for any prime , the edges of can be colored with colors as desired. I borrow the solution given in [1], this is also the official solution.
Let the pairs be the vertices of and the colors be . For any two vertices we color with the color (the operation taken in the field , see the remark below) in case and with color in case .
Remark. For any where is a prime, there is unique with . Thus, we can define . One may interpret the vertex geometrically as a point on the plane with as its coordinates. Then the color of a segment is associated with its slope . In case one could define the slope being . For a “triangle” , if two of its sides have the same slopes, the third one is also the same. This means the coloring is regular.
References:
[1] https://artofproblemsolving.com/community/c6h303623p1642764
[2] https://artofproblemsolving.com/community/c6h1991825