IMO 2026
Introduction
As part of my journey to catch up with proof-based contest experience I missed during high school, I am attempting some problems from the 67th International Mathematical Olympiad (IMO). Unfortunately, life has not been permitting me to sit down for 4.5 hours a day to do math problems, so Iβve just been solving problems one by one casually. Here, I will document some of my thought processes and solutions to some of the problems from the IMO this year.
Confucius and His Number Theory Game
Question 1. There are integers greater than 1 written on a blackboard, not necessarily different. In a move, Confucius chooses two integers and from different places on the blackboard and replaces these two integers with
He continues to make moves while it is possible to do so.
(a) Prove that, regardless of the choices of Confucius, after finitely many moves, exactly one integer on the blackboard is greater than 1.
(b) Prove that the value of does not depend on the choices of Confucius.
My thought process for part (a). These types of problem usually contain a creative invariant (i.e. a property that never changes throughout the course of the game).
The first idea that came to mind was considering the product of the numbers. The two new numbersβ product is , which is at most , and equality is reached if and only if , so this might be useful.
Since the product is always positive and nonincreasing, to solve part (a), we only need need to show that Confucius can pick two coprime numbers a finite number of times. Letβs see what happens when Confucius chooses two coprime numbers. Suppose . Then Confucius replaces them by and . Ah, the number of integers greater than 1 decreases by 1! Since there are only 2026 integers at the start, Confucius can only do this at most 2025 times before ending up with one integer.
Now we have all the tools to solve the problem.
My thought process for part (b). To solve (b), we just need to find another invariant on the game.
Trying out about ten examples on scratch paper, I made a few small observations. For example, any prime factor must stay, and must be between and .
One significant observation I made was that it suffices to consider the numbers by the exponents of each prime factor. Let be a prime. Notice that and . This looks quite complicated. Letβs replace the common parts with some variables. WLOG suppose . Then, we essentially replace and with and .
Now I asked myself: what is invariant under this operation? This replacement reminds me of the Euclidean algorithm. Indeed, . Since is associative and transitive, what this tells us is that, for all primes , the of the exponents of in the prime factorizations of all the numbers on the blackboard remains the same.
With this important observation, we are ready to write up the proof.
My Solution.
Proof of part (a).
Claim 1. The product of the integers on the blackboard never increases after any move. Furthermore, this product decreases whenever the choices of and are not coprime.
Proof of Claim 1. Let denote the product of the integers currently on the blackboard. Suppose that Confucius chooses two integers and on different locations on the blackboard. Then, the product of the integers of blackboard changes from to
Furthermore, if and only if . Therefore, the product remains the same if and are coprime, and strictly decreases if they are not.
Corollary 2. Confucius can make a move with two non-coprime numbers a finite number of times.
Proof of Corollary 2. Let be the product of the integers initially written on the blackboard. Note that and is a positive integer. By Claim 1, each move with non-coprime numbers decreases this product by at least 1, so such a move can be made at most times.
Claim 3. The number of integers greater than 1 on the blackboard never increases after any move. Furthermore, this number decreases by exactly 1 whenever the choices of and are coprime.
Proof of Claim 3. A move removes two entries greater than 1 and inserts two positive integers, at most two of which can be greater than 1. Hence the number of entries greater than 1 cannot increase. Furthermore, suppose that Confucius chooses and , where . Note that . Therefore, with this move, and are replaced with and . Since , , and are each greater than 1, but isnβt, the total number of integers greater than 1 on the blackboard decreases by 1 after this move.
Corollary 4. Confucius can make a move with two coprime numbers a finite number of times.
Proof of Corollary 4. By Claim 3, after moves using two coprime numbers, at most one integer greater than one remains on the blackboard, so it is impossible to make more than such moves.
For each move, and are either coprime or not coprime. By Corollary 2, there can only be a finite number of moves with non-coprime numbers; by Corollary 4, there can only be a finite number of moves with coprime numbers. Therefore, there can only be a finite number of moves throughout any game.
Furthermore, the game ends if and only if there are no two integers both greater than 1 on the blackboard. Also, for any two and , so at least one of the two replacement integers for a given move is greater than 1. Initially, all entries are greater than 1. At termination, the number of integers greater than 1 on the blackboard is less than two, so there is exactly one. Hence exactly one integer greater than one remains on the blackboard at the end of the game.
Proof of part (b). At any point in time, let the numbers written on the blackboard be . Let denote the set of all prime numbers that divide at least one of these . Define as the nonnegative integer such that (in particular, ). Let
Consider
Let be this quantity for the numbers initially on the blackboard.
I claim that regardless of Confuciusβ choices.
To show this, I will show that this quantity does not change over any move.
Claim 5. The set does not change after a move.
Proof of Claim 5. Before any move with and , let be the set of all primes that divide at least one number on the blackboard. Let be any prime number.
If and , then and . Therefore, if this divides some other integer on the blackboard, it remains in , and if it doesnβt, then it is not added to .
Otherwise, or . Then . If both of these hold, . Otherwise, since but , we have . In either case, still divides at least one number on the blackboard.
Suppose that Confucius chooses two integers and from different places on the blackboard, where and . Let be any prime number that divides at least one number currently on the blackboard. Without loss of generality, suppose . Notice that
and
Let be the -adic valuations of the entries not changed by the move.
Before the move,
and after the move,
where in the second-to-last step we use the equality by the Euclidean algorithm.
Since the set of prime numbers on the blackboard remains the same after each move by Claim 5, and remains the same for each such prime , the expression remains the same after a move.
By part (a), the game terminates after a finite number of moves, and is the only integer greater than 1 on the blackboard. Thus becomes exactly the prime factors of , and , we have
Therefore, the value of does not depend on the choices of Confucius.
Remark. I really enjoyed this problem! I spent about 15 minutes on part (a). I was stuck on part (b) for the next 15 minutes, so I decided to take a shower, during which I made an important observation, and the problem took me a total of about an hour.
Shan-Yu, Mulan, and Triangles
Question 4. Shan-Yu and Mulan are playing a game. Let be an angle with known to both players. Initially, Shan-Yu makes a paper triangle with measurements of his choice. They repeatedly form the following steps.
If has at least one angle measuring exactly , then the game stops and Mulan wins.
Otherwise, Mulan chooses a point on the perimeter of , different from its three vertices. She then makes a straight cut from to the opposite vertex of .
Shan-Yu discards one of the two triangles. The remaining triangle becomes the new .
For which real values of can Mulan guarantee her victory in finitely many steps, no matter how Shan-Yu plays?
My Solution. I claim the answer is
Lemma 1. If before Mulanβs move, one of the three angles has measure for some positive integer , then Mulan wins after a finite number of moves.
Proof of Lemma 1. We will prove this by induction.
For the base case, consider when . Then, there is an angle with measure , so Mulan wins immediately.
For the inductive step, let , and assume for our inductive hypothesis that, if before Mulanβs move, one of the three angles has measure , then Mulan wins after a finite number of moves. Suppose that one of the three angles has measure . Mulan will divide the angle into one angle with measure and another with measure , creating two triangles. If Shan-Yu keeps the triangle with the angle of measure , then Mulan wins immediately. Otherwise, if Shan-Yu keeps the triangle with the angle of measure , then Mulan wins after a finite number of moves by our inductive hypothesis.
By the principle of mathematical induction, for all positive integers , if before Mulanβs move, one of the three angles has measure , then Mulan wins after a finite number of moves.
Claim 2. If there exists an integer such that , then Mulan wins after a finite number of moves.
Proof of Claim 2. Firstly, no matter what triangle Shan-Yu chooses, Mulan can always force Shan-Yu to reduce the triangle to a right triangle by choosing as the foot of the altitude from the vertex with the largest angle ( lies on the opposite side because the other two angles must both be acute). Then, both of the triangles Shan-Yu could choose are right triangles, so after Shan-Yuβs move, the paper triangle must be a right triangle.
If (), Mulan wins. Now suppose , so .
Let be the vertex with the right angle. Let the other two vertices and have and , and without loss of generality suppose .
If , then Mulan wins. Otherwise, there are two exhaustive cases:
Case 1. Suppose . Then, Mulan picks the vertex with angle , and picks the point on the opposite side such that . This is possible because .
Since , Mulan wins if Shan-Yu keeps triangle . Suppose otherwise that Shan-Yu keeps triangle .
Now, . Note that is a positive integer, so by Lemma 1, Mulan wins in a finite number of moves.
Case 2. Suppose . Let be the greatest positive integer such that . If , then Mulan wins in a finite number of moves by Lemma 1. Otherwise, Mulan picks a point on side such that , and makes this move (which is legal since , so does not coincide with ).
If Shan-Yu keeps triangle , then since , Mulan wins in a finite number of moves by Lemma 1. Suppose otherwise that Shan-Yu keeps triangle . By maximality of , we have and , so we are now back in case 1, for which we showed Mulan wins in a finite number of moves.
That concludes all cases. Therefore, if there exists an integer such that , then Mulan wins in a finite number of moves.
Claim 3. If there does not exist an integer such that , then Shan-Yu can prevent Mulan from winning indefinitely.
Proof of Claim 3. Shan-Yu chooses an initial triangle with angles , , and . Note that none of the three angles is equal to an integer multiple of .
Firstly, if none of the three angles is equal to an integer multiple of , then none of the angles is , so Mulan does not immediately win.
Next, I can show that Shan-Yu can always maintain this invariant. Let the triangle be and without loss of generality Mulan picked a point on side .
If neither nor is equal to an integer multiple of , or neither nor is equal to an integer multiple of , then Shan-Yu can keep a triangle in which neither of these two angles is equal to an integer multiple of , ensuring that the resulting triangle satisfies the invariant.
Furthermore, since neither nor is equal to an integer multiple of , at most one of (, ) can be equal to an integer multiple of , and at most one of (, ) can be equal to an integer multiple of .
The only possible remaining case at this point is where and are each equal to an integer multiple of , or and are each equal to an integer multiple of . However, these cases are impossible. If and are each equal to an integer multiple of , then would also be equal to an integer multiple of , a contradiction. A similar argument holds for the other symmetric case.
Therefore, there must be one triangle in which no angle is equal to an integer multiple of , so Shan-Yu can keep that triangle. The invariant can be maintained indefinitely, so Shan-Yu can prevent Mulan from winning indefinitely.
By Claim 2 and Claim 3, we have proven our answer.
Remark. This problem took me about 40 minutes to solve, but there were some minor construction details I had to reconsider while writing this solution up. Overall, I had lots of fun trying different constructions for this problem.