# JMO 2010 Solution Notes Evan Chen《陳誼廷》 15 April 2024 #### Abstract This is a compilation of solutions for the 2010 JMO. The ideas of the solution are a mix of my own work, the solutions provided by the competition organizers, and solutions found by the community. However, all the writing is maintained by me. These notes will tend to be a bit more advanced and terse than the "official" solutions from the organizers. In particular, if a theorem or technique is not known to beginners but is still considered "standard", then I often prefer to use this theory anyways, rather than try to work around or conceal it. For example, in geometry problems I typically use directed angles without further comment, rather than awkwardly work around configuration issues. Similarly, sentences like "let $\mathbb{R}$ denote the set of real numbers" are typically omitted entirely. Corrections and comments are welcome! ## Contents 0 Problems 1 Solutions to Day 1 1.1 JMO 2010/1, proposed by Andy Niedermier ..... 3 1.2 JMO 2010/2, proposed by Răzvan Gelca ..... 4 1.3 JMO 2010/3, proposed by Titu Andreescu 2 Solutions to Day 2 ..... 7 2.1 JMO 2010/4, proposed by Zuming Feng ..... 7 2.2 JMO 2010/5, proposed by Gregory Galperin ..... 8 2.3 JMO 2010/6, proposed by Zuming Feng ..... 9 ## §0 Problems 1. Let $P(n)$ be the number of permutations $\left(a_{1}, \ldots, a_{n}\right)$ of the numbers $(1,2, \ldots, n)$ for which $k a_{k}$ is a perfect square for all $1 \leq k \leq n$. Find with proof the smallest $n$ such that $P(n)$ is a multiple of 2010 . 2. Let $n>1$ be an integer. Find, with proof, all sequences $x_{1}, x_{2}, \ldots, x_{n-1}$ of positive integers with the following three properties: (a) $x_{1}1$ be an integer. Find, with proof, all sequences $x_{1}, x_{2}, \ldots, x_{n-1}$ of positive integers with the following three properties: (a) $x_{1}0$, consider a triangle with vertices at $\left(a, a^{2}\right),\left(-a, a^{2}\right)$ and $\left(b, b^{2}\right)$. Then the area of this triangle was equal to $$ \frac{1}{2}(2 a)\left(b^{2}-a^{2}\right)=a\left(b^{2}-a^{2}\right) . $$ To make this equal $2^{2 n} m^{2}$, simply pick $a=2^{2 n}$, and then pick $b$ such that $b^{2}-m^{2}=2^{4 n}$, for example $m=2^{4 n-2}-1$ and $b=2^{4 n-2}+1$. ## §2.2 JMO 2010/5, proposed by Gregory Galperin Available online at https://aops.com/community/p1860912. ## Problem statement Two permutations $a_{1}, a_{2}, \ldots, a_{2010}$ and $b_{1}, b_{2}, \ldots, b_{2010}$ of the numbers $1,2, \ldots, 2010$ are said to intersect if $a_{k}=b_{k}$ for some value of $k$ in the range $1 \leq k \leq 2010$. Show that there exist 1006 permutations of the numbers $1,2, \ldots, 2010$ such that any other such permutation is guaranteed to intersect at least one of these 1006 permutations. A valid choice is the following 1006 permutations: | 1 | 2 | 3 | $\cdots$ | 1004 | 1005 | 1006 | 1007 | 1008 | $\cdots$ | 2009 | 2010 | | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | 2 | 3 | 4 | $\cdots$ | 1005 | 1006 | 1 | 1007 | 1008 | $\cdots$ | 2009 | 2010 | | 3 | 4 | 5 | $\cdots$ | 1006 | 1 | 2 | 1007 | 1008 | $\cdots$ | 2009 | 2010 | | $\vdots$ | $\vdots$ | $\vdots$ | $\ddots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | $\vdots$ | | 1004 | 1005 | 1006 | $\cdots$ | 1001 | 1002 | 1003 | 1007 | 1008 | $\cdots$ | 2009 | 2010 | | 1005 | 1006 | 1 | $\cdots$ | 1002 | 1003 | 1004 | 1007 | 1008 | $\cdots$ | 2009 | 2010 | | 1006 | 1 | 2 | $\cdots$ | 1003 | 1004 | 1005 | 1007 | 1008 | $\cdots$ | 2009 | 2010 | This works. Indeed, any permutation should have one of $\{1,2, \ldots, 1006\}$ somewhere in the first 1006 positions, so one will get an intersection. Remark. In fact, the last 1004 entries do not matter with this construction, and we chose to leave them as $1007,1008, \ldots, 2010$ only for concreteness. Remark. Using Hall's marriage lemma one may prove that the result becomes false with 1006 replaced by 1005 . ## §2.3 JMO 2010/6, proposed by Zuming Feng Available online at https://aops.com/community/p1860753. ## Problem statement Let $A B C$ be a triangle with $\angle A=90^{\circ}$. Points $D$ and $E$ lie on sides $A C$ and $A B$, respectively, such that $\angle A B D=\angle D B C$ and $\angle A C E=\angle E C B$. Segments $B D$ and $C E$ meet at $I$. Determine whether or not it is possible for segments $A B, A C, B I$, $I D, C I, I E$ to all have integer lengths. The answer is no. We prove that it is not even possible that $A B, A C, C I, I B$ are all integers. ![](https://cdn.mathpix.com/cropped/2024_11_19_a4f5a16d632e1d6ed723g-9.jpg?height=427&width=504&top_left_y=923&top_left_x=776) First, we claim that $\angle B I C=135^{\circ}$. To see why, note that $$ \angle I B C+\angle I C B=\frac{\angle B}{2}+\frac{\angle C}{2}=\frac{90^{\circ}}{2}=45^{\circ} . $$ So, $\angle B I C=180^{\circ}-(\angle I B C+\angle I C B)=135^{\circ}$, as desired. We now proceed by contradiction. The Pythagorean theorem implies $$ B C^{2}=A B^{2}+A C^{2} $$ and so $B C^{2}$ is an integer. However, the law of cosines gives $$ \begin{aligned} B C^{2} & =B I^{2}+C I^{2}-2 B I \cdot C I \cos \angle B I C \\ & =B I^{2}+C I^{2}+B I \cdot C I \cdot \sqrt{2} . \end{aligned} $$ which is irrational, and this produces the desired contradiction.