Browse · MathNet
Print75th NMO Selection Tests
Romania counting and probability
Problem
Let be a natural number. John draws a regular -gon and connects every pair of vertices. On each segment, John writes a nonzero natural number such that in any triangle formed by three vertices, one of the numbers on its sides equals the sum of the other two.
Determine the smallest number of distinct values John can write.
Determine the smallest number of distinct values John can write.
Solution
We will show that the number sought is for and if .
For and , it can be easily verified that the answer is . Suppose now that . Denote by the number written on segment .
If we label the vertices of the regular polygon as and set for all , then the condition of the problem is satisfied, so the number sought for is at most .
To prove equality, suppose by contradiction that the number sought for is at most . Let be the greatest value John writes on some segment, and let be vertices such that . Suppose is written on the segment with minimal distance between the vertices among all segments with value .
We make the following two observations:
1. There do not exist three vertices such that (otherwise, it would follow that , which is impossible because the sum rule, according to the hypothesis, would no longer be valid for triangle ).
2. For any point different from and , we have since is maximum; in particular, .
Since, by assumption, there are at most distinct values, the pigeonhole principle implies that there exist points and such that , with (according to Observation 2).
We observe that the rule for writing the numbers on segments implies: in triangle we have ; in triangle we have ; in triangle we have . Therefore, from triangle , we obtain that , hence (in particular, is even).
Now, looking at the numbers on the segments emerging from , we can see that the only value that repeats is (as shown in the previous paragraph) and it cannot appear three times (by Observation 1). Therefore, there are distinct numbers, and according to the assumption, these must be all the numbers used by John.
Since , there exists a vertex different from the vertices . Let . Since , it follows that appears among the values on the segments emerging from . Without loss of generality, we may assume that because .
We look at triangle and observe that . Since is the maximum, and , it follows that , and similarly, .
Finally, looking at triangle , we have , but also , a contradiction. (In triangle we have , hence )
Therefore, there cannot be only values, which implies that the required number is .
For and , it can be easily verified that the answer is . Suppose now that . Denote by the number written on segment .
If we label the vertices of the regular polygon as and set for all , then the condition of the problem is satisfied, so the number sought for is at most .
To prove equality, suppose by contradiction that the number sought for is at most . Let be the greatest value John writes on some segment, and let be vertices such that . Suppose is written on the segment with minimal distance between the vertices among all segments with value .
We make the following two observations:
1. There do not exist three vertices such that (otherwise, it would follow that , which is impossible because the sum rule, according to the hypothesis, would no longer be valid for triangle ).
2. For any point different from and , we have since is maximum; in particular, .
Since, by assumption, there are at most distinct values, the pigeonhole principle implies that there exist points and such that , with (according to Observation 2).
We observe that the rule for writing the numbers on segments implies: in triangle we have ; in triangle we have ; in triangle we have . Therefore, from triangle , we obtain that , hence (in particular, is even).
Now, looking at the numbers on the segments emerging from , we can see that the only value that repeats is (as shown in the previous paragraph) and it cannot appear three times (by Observation 1). Therefore, there are distinct numbers, and according to the assumption, these must be all the numbers used by John.
Since , there exists a vertex different from the vertices . Let . Since , it follows that appears among the values on the segments emerging from . Without loss of generality, we may assume that because .
We look at triangle and observe that . Since is the maximum, and , it follows that , and similarly, .
Finally, looking at triangle , we have , but also , a contradiction. (In triangle we have , hence )
Therefore, there cannot be only values, which implies that the required number is .
Final answer
n − 1 for n ≠ 4; when n = 4, the minimum is 2
Techniques
Pigeonhole principleColoring schemes, extremal arguments