IMO 2025 Livesolve (Day 1)
(Drew here.) As a retired contestant, I decided it would be fun to attempt the IMO 2025 paper and see how well I would do on it! Let's get started.
Problem 1
(IMO 2025/1) A line in the plane is called sunny if it is not parallel to any of the $x$–axis, the $y$–axis, or the line $x+y=0$.
Let $n\ge3$ be a given integer. Determine all nonnegative integers $k$ such that there exist $n$ distinct lines in the plane satisfying both of the following:
for all positive integers $a$ and $b$ with $a+b\le n+1$, the point $(a,b)$ lies on at least one of the lines; and
exactly $k$ of the $n$ lines are sunny.
To begin, I decided to try the $n=3$ case, as that's the smallest one. The points form a right triangle with $3$ points on each edge, and a sunny line is a line not parallel to any of the edges of the main triangle.
We can shift the points a bit to instead form an equilateral triangle, and a sunny line is any line not parallel to any of the sides of the equilateral triangle.
Importantly, the side of the equilateral triangle has $n$ points: what happens if we have a line through these points?
The line through these points is not sunny, so the remaining $n-1$ points are still covered by $k$ sunny lines. This means if $(k,n)$ is a valid solution for $n\geq 4$, then $(k,n-1)$ is a valid solution, too.
The other case is that none of the $n$ lines is the longest side of the equilateral triangle. In this case, each of the $n$ points on the baseline must have exactly one line passing through it.
For this to hold for all $3$ sides seems difficult: a configuration of lines would want to be along the sides. But it's possible for $n=3$ by drawing the medians. Intuitively this makes sense, because the vertices of the equilateral triangle can "double up" and act as the point of intersection for both its edges.
But if $n\geq4$, there are too many other points that we need to pass through.
There are $2n-3$ other points on the perimeter, and if $n\geq4$, the inequality $2n-3>n$ holds. This means that, by pigeonhole, one of the $n$ lines passing through the baseline (yellow) must also pass through two of the remaining perimeter points.
But any line through two of these perimeter points would either pass through the vertex opposite the baseline (which means it's the longest side of the equilateral triangle), or pass through two points from opposite sides, in which case it intersects the yellow line outside the triangle (e.g. by Menelaus).
It remains to resolve the case $n=3$.
$k=0,1,3$ work by the constructions in the image, and $k=2$ fails by brute forcing all the possibilities.
Time taken: 30 minutes
Post-solve thoughts
Using the ideas I have here, there is a cleaner way to do the problem. In case 2, there are $3n-3$ points on the perimeter, and each line that's not the longest edge can only pass through $2$ points. So $3n-3\leq 2n$, which only holds for $n=3$, and for $n=3$ equality must hold.
Through a vertex of the triangle, the only line that passes through exactly two points is the median, which shows this construction is the only one in this case.
And this also aids in the brute force, since the second case doesn't admit a solution with $k=2$. And if we're in the first case, we can solve the problem for $n=2$ instead (even if the problem explicitly states $n\geq 3$!), which is trivial.
In fact, the solution presented here characterises all possible configurations. For the $n=3$ case, either we have $2$ parallel non-sunny lines passing through $3$ and $2$ points with an arbitrary line through the last point, or the $3$ medians. Then, add non-sunny lines to the outside to create a triangle that's $1$ length larger, all the way until $n$.
Overall, I enjoyed this problem; even if I have overcomplicated some of the details, the core of the problem is still obvious: $n$ collinear points must either have a line right through or $n$ different lines passing through, then induct down to a smaller value of $n$.
Problem 2
(IMO 2025/2) Let $\Omega$ and $\Gamma$ be circles with centres $M$ and $N$, respectively, such that the radius of $\Omega$ is less than the radius of $\Gamma$. Suppose $\Omega$ and $\Gamma$ intersect at two distinct points $A$ and $B$. Line $MN$ intersects $\Omega$ at $C$ and $\Gamma$ at $D$, so that $C, M, N, D$ lie on $MN$ in that order. Let $P$ be the circumcentre of triangle $ACD$. Line $AP$ meets $\Omega$ again at $E\neq A$ and meets $\Gamma$ again at $F\neq A$. Let $H$ be the orthocentre of triangle $PMN$.Prove that the line through $H$ parallel to $AP$ is tangent to the circumcircle of triangle $BEF$.
![]() |
AB isn't even perpendicular to CD... |
![]() |
5/2 * 5/3 is a calculation for the orthocenter. |
![]() |
Sketches plug again. |
![]() |
I don't enjoy angle chasing. |
![]() |
Some statements which should be true. I just need to find the order in which to prove them now. |
![]() |
The final diagram. |
Time taken: 70 minutes
Post-solve thoughts
I'm surprised I came up with this solution and this fast, which is pure angle chasing and similarities, given these are my weaknesses.
The solving process was draw tangency point → conjecture stuff about it → find the right order to prove the conjectures → finish, which is very common for tangency problems where the point is unknown.
Drawing the tangency point is pretty easy with an accurate diagram. If it doesn't visually satisfy the things that should be true, maybe draw it better, which I needed to.
To conjecture stuff about the point, an accurate diagram definitely helps. Without a ruler and compass I had to resort to the gridlines for an accurate position of $B$ and $P$. It's important to work backwards here, since you don't need to prove it yet. But if you want to claim something that's not proven, make sure it's consistent with everything else known first.
Finding the right order is usually the step that trips me up, because I run into cyclic arguments. This time, however, everything worked out conveniently, because I chose a good definition for $Q$. (Choosing $Q$ to be the midpoint of arc doesn't work even though that's what I wanted to start with, because there are two indistinguishable arc midpoints!)
Then in the finish, I admit I got lucky on knowing $MNQ$ has incenter $H$, but it's not hard to angle chase even without guessing.
My advice for this is to know which angles can be chased using the angles in the reference triangle, and calculate them when needed. I don't like it when my diagram is full of angles.
AoPS has enlightened me on some stuff. Inverting at $A$ helps a bit, $CEB$ and $DFB$ become collinear, $B$ and $P$ swap roles, etc. Which makes me even more surprised that I didn't do that (I didn't know what to do with $H$). And also there are shorter solutions that what I did, with much less angle chasing. Coord bashing works as well, which I contemplated a couple minutes in, but rejected because a synthetic solution would have more content.
$P$ is in fact the $A$-excenter of $\triangle AMN$, using this information we can delete $C$ and $D$ and take $\triangle AMN$ as the reference triangle instead.
Question for reader: What if we did the same with $P'$ being the incenter of $\triangle AMN$? What happens to $H'$, the orthocenter of $\triangle P'MN$?
Problem 3
(IMO 2025/3) Let $\mathbb{N}$ denote the set of positive integers. A function $f\colon\mathbb{N}\to\mathbb{N}$ is said to be bonza if $$f(a)~~\text{divides}~~b^a-f(b)^{f(a)}$$ for all positive integers $a$ and $b$.
Determine the smallest real constant $c$ such that $f(n)\leqslant cn$ for all bonza functions $f$ and all positive integers $n$.
![]() |
Needing to rewrite flt is a sign that my NT has rusted. |
![]() |
This case is nonexistent?! |
Yeah $f(n)=n$ is the only solution in the other case. Wow. It's done.
Time taken: 60 minutes
Post-solve thoughts
That was a very underwhelming problem because of how I finished it. I probably should have done that case first...
The difficulty in the problem lies in... where? I think it's in me being rusty at NT.
The first part about limiting the values of $f(a)$ then choosing $a$ to be prime is very standard; $f(p)$ finding in NT FEs is common. "NT is about primes", I quote.
Then the choice to focus on $f(3)=1$ was deliberate, because it's both easier to resolve and not any weaker than the fact that $f(p)=1$ for all odd primes $p$ (which I conjectured to be true).
Finally, the construction of $f$ evaded me for a while because I did not remember LTE, but after that calculation was done, I chose $f$ to be the largest possible value for each input, and it just worked!
(Additional note: $f(n)=2^{\nu_2(n)+2}$ for even $n$ is NOT a solution because $f(2)=8$ does not divide $2^2$. Verifying FE solutions is not something that should be done solely in fear of losing marks, but also because of possible mishaps like this.)
Apparently the function with $f(4)=16$ and the rest of the function equal to $1$ if odd and $2$ on every other even works, and ignores most of the LTE stuff I did.
So I believe this problem could be made harder by adding "sufficiently large" in multiple places. With the same setup but "for every $a,b>20^{25}$" and "$f(n)\leqslant cn$ for all sufficiently large $n$" being used in the definition of a bonza function, what's the new minimum value of $c$? I think $c=4$ is still the best, and proving it requires a little more care or insight to handle.
(P.S. after writing this, I saw that Evan Chen has classified all bonza functions for the original problem!)
Comments
Post a Comment