Skip to main content
OlympiadHQ

Browse · MathNet

Print

China Team Selection Test

China counting and probability

Problem

Let be a regular 101-gon, and color every vertex red or blue. Let be the number of obtuse triangles satisfying the following: The three vertices of the triangle must be vertices of the 101-gon, both the vertices with acute angles have the same color, and the vertex with obtuse angle have different color.

(1) Find the largest possible value of .

(2) Find the number of ways to color the vertices such that maximum is achieved. (Two colorings are different if for some the colors are different on the two coloring schemes)
Solution
Define or depending on whether is red or blue. For obtuse triangle (vertex is the vertex of the obtuse angle, i.e. ), these three vertices satisfy the conditions of the problem if and only if otherwise equals , here the subscript is modulo . Thus here stands for the summation of all positive integer pairs satisfying , there are such positive integer pairs. Expand , we have

here is the number of the blue vertices. For any two vertices , , let Let be the set of all blue vertices, then can be written as where runs through all the two-element subsets of . Without loss of generality, we assume is even. Otherwise, color all the vertices the opposite, the value of does not change. Write , , from one point, renumber all the blue vertices as clockwise. Then here the subscript of is modulo , and we use the inequality and Combine and , we have The right hand side of attains its maximum value when , thus .

The number of ways to choose blue vertices such that achieves maximum is equal to the number of ways to choose diagonals from the longest diagonals such that any two diagonals do not have common vertices.

Edging and , , we get a graph . Notice that and are relatively prime, so () form a complete residue system modulo , i.e. is a circle with edges. Therefore, the number of ways (written as ) to color vertices blue and achieves maximum, is equal to the number of ways to choose edges of , such that any two of them do not have common vertices. Now, fix one edge of . Since the number of ways to choose edges having is , not having is , so . Similarly, the number of ways to have red vertices is also , thus the number of ways to color the vertices such that the largest value of is achieved is .

In a word, the largest possible value of is , the number of ways to color is .
Final answer
Largest N = 32175; number of colorings achieving this maximum = 2 * (C(75, 24) + C(76, 25))

Techniques

Matchings, Marriage Lemma, Tutte's theoremColoring schemes, extremal argumentsSums and products