Browse · MathNet
PrintJapan Mathematical Olympiad
Japan counting and probability
Problem
Consider a figure consisting of 15 circles and 20 line segments as shown below. Each circle is labeled with a 0, 1, or 2, and we define the beauty of a labeling as the number of line segments whose endpoints are labeled with numbers that differ by 1. Let be the largest possible beauty that can be achieved with any labeling. How many labelings exist that achieve the beauty of ?

Note that we distinguish labelings which can be obtained from each other by rotations or reflections.





Note that we distinguish labelings which can be obtained from each other by rotations or reflections.
Solution
1920 A line segment for which the difference between the numbers written in the two circles at its endpoints is 1 is called a good line segment, and one that does not satisfy this condition is called a bad line segment. Let us also name the six pentagons as to , as shown in the figure below. Lemma. Among the five line segments that form a pentagon, at least one is a bad line segment. Proof. Assume that all five line segments are good line segments, and we will show a contradiction. Let be the numbers written in the circles of the pentagon in clockwise order. Since we are assuming that all line segments are good, we have , and are all odd numbers. Thus, their sum is also odd. However, this sum is equal to 0, which is a contradiction. ■
For each pentagon , let be the number of bad line segments among the five line segments that form it. From the lemma, we know that for all . Let be the number of bad line segments among the ten line segments on the outer border, and let be the number of bad line segments among the remaining ten line segments. Then, we have . Thus, we have , which implies . Therefore, there are at least three bad line segments in total. Conversely, if we label circles in the following way, there are exactly three bad line segments (shown bold), satisfying the given conditions. Therefore, the maximum value of beauty is .
Consider the case where there are 3 bad line segments. By considering the equality condition of the inequality above, we have and , which implies that there are no bad line segments among the outer 10 line segments. Furthermore, from , we have for each pentagon and each of its 5 line segments has exactly 1 bad line segment. Therefore, by symmetry, the answer is 5 times the number of valid labelings when we fix one bad line segment of to be the bold line segment in the lower left figure. When we fix it, the arrangement of bad line segments is uniquely determined as the bold line segments shown in the lower right figure.
Note that the only allowed odd number is 1, a good line segment must have different parity between the ends and vice versa. Hence, the parity of labeling must be one of the following two patterns, and conversely, any labelling consistent with these patterns satisfies the condition.
There are two even numbers allowed, so there are ways to fill in the left pattern and ways to fill in the right pattern, for a total of ways.
Therefore, the answer is .
For each pentagon , let be the number of bad line segments among the five line segments that form it. From the lemma, we know that for all . Let be the number of bad line segments among the ten line segments on the outer border, and let be the number of bad line segments among the remaining ten line segments. Then, we have . Thus, we have , which implies . Therefore, there are at least three bad line segments in total. Conversely, if we label circles in the following way, there are exactly three bad line segments (shown bold), satisfying the given conditions. Therefore, the maximum value of beauty is .
Consider the case where there are 3 bad line segments. By considering the equality condition of the inequality above, we have and , which implies that there are no bad line segments among the outer 10 line segments. Furthermore, from , we have for each pentagon and each of its 5 line segments has exactly 1 bad line segment. Therefore, by symmetry, the answer is 5 times the number of valid labelings when we fix one bad line segment of to be the bold line segment in the lower left figure. When we fix it, the arrangement of bad line segments is uniquely determined as the bold line segments shown in the lower right figure.
Note that the only allowed odd number is 1, a good line segment must have different parity between the ends and vice versa. Hence, the parity of labeling must be one of the following two patterns, and conversely, any labelling consistent with these patterns satisfies the condition.
There are two even numbers allowed, so there are ways to fill in the left pattern and ways to fill in the right pattern, for a total of ways.
Therefore, the answer is .
Final answer
1920
Techniques
Coloring schemes, extremal argumentsInvariants / monovariantsEnumeration with symmetry