# USAMO 2006 Solution Notes Evan Chen《陳誼廷》 15 April 2024 This is a compilation of solutions for the 2006 USAMO. 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 ..... 2 1 Solutions to Day 1 ..... 3 1.1 USAMO 2006/1, proposed by Kiran Kedlaya ..... 3 1.2 USAMO 2006/2, proposed by Dick Gibbs ..... 4 1.3 USAMO 2006/3, proposed by Titu Andreescu, Gabriel Dospinescu ..... 6 2 Solutions to Day 2 ..... 7 2.1 USAMO 2006/4, proposed by Ricky Liu ..... 7 2.2 USAMO 2006/5, proposed by Zoran Sunik . ..... 8 2.3 USAMO 2006/6, proposed by Zuming Feng, Zhonghao Ye ..... 10 ## §0 Problems 1. Let $p$ be a prime number and let $s$ be an integer with $00$ be a fixed integer. Compute the minimum integer $N$ (in terms of $k$ ) for which there exists a set of $2 k+1$ distinct positive integers that has sum greater than $N$, but for which every subset of size $k$ has sum at most $N / 2$. 3. For integral $m$, let $p(m)$ be the greatest prime divisor of $m$. By convention, we set $p( \pm 1)=1$ and $p(0)=\infty$. Find all polynomials $f$ with integer coefficients such that the sequence $$ \left\{p\left(f\left(n^{2}\right)\right)-2 n\right\}_{n \geq 0} $$ is bounded above. (In particular, this requires $f\left(n^{2}\right) \neq 0$ for $n \geq 0$.) 4. Find all positive integers $n$ for which there exist an integer $k \geq 2$ and positive rational numbers $a_{1}, \ldots, a_{k}$ satisfying $a_{1}+a_{2}+\cdots+a_{k}=a_{1} a_{2} \ldots a_{k}=n$. 5. A mathematical frog jumps along the number line. The frog starts at 1 , and jumps according to the following rule: if the frog is at integer $n$, then it can jump either to $n+1$ or to $n+2^{m_{n}+1}$ where $2^{m_{n}}$ is the largest power of 2 that is a factor of $n$. Show that if $k \geq 2$ is a positive integer and $i$ is a nonnegative integer, then the minimum number of jumps needed to reach $2^{i} k$ is greater than the minimum number of jumps needed to reach $2^{i}$. 6. Let $A B C D$ be a quadrilateral, and let $E$ and $F$ be points on sides $A D$ and $B C$, respectively, such that $\frac{A E}{E D}=\frac{B F}{F C}$. Ray $F E$ meets rays $B A$ and $C D$ at $S$ and $T$, respectively. Prove that the circumcircles of triangles $S A E, S B F, T C F$, and $T D E$ pass through a common point. ## §1 Solutions to Day 1 ## §1.1 USAMO 2006/1, proposed by Kiran Kedlaya Available online at https://aops.com/community/p490569. ## Problem statement Let $p$ be a prime number and let $s$ be an integer with $00$ be a fixed integer. Compute the minimum integer $N$ (in terms of $k$ ) for which there exists a set of $2 k+1$ distinct positive integers that has sum greater than $N$, but for which every subset of size $k$ has sum at most $N / 2$. The answer is $N=k\left(2 k^{2}+3 k+3\right)$ given by $$ S=\left\{k^{2}+1, k^{2}+2, \ldots, k^{2}+2 k+1\right\} . $$ To show this is best possible, let the set be $S=\left\{a_{0}a_{k+1}+\cdots+a_{2 k} $$ and indeed given a sequence satisfying these properties one simply sets $N=2\left(a_{k+1}+\cdots+a_{2 k}\right)$. Therefore we can focus almost entirely on $a_{i}$ and not $N$. Remark. It is relatively straightforward to figure out what is going on based on the small cases. For example, one can work out by hand that - $\{2,3,4\}$ is optimal for $k=1$ - $\{5,6,7,8,9\}$ is optimal for $k=2$, - $\{10,11,12,13,14,15,16\}$ is optimal for $k=3$. In all the examples, the $a_{i}$ are an arithmetic progression of difference 1 , so that $a_{j}-a_{i} \geq j-i$ is a sharp for all $ic$, such that $p$ divides some $f\left(n^{2}\right)$, by Schur's Theorem. Looking mod such a $p$ we can find $n$ between 0 and $\frac{p-1}{2}\left(\right.$ since $\left.n^{2} \equiv(-n)^{2}(\bmod p)\right)$. We claim that only finitely many $p$ from this set can fail now. For if a $p$ fails, then its $n$ must be between $\frac{p-1}{2}-c$ and $\frac{p-1}{2}$. That means for some $0 \leq k \leq c$ we have $$ 0 \equiv f\left(\left(\frac{p-1}{2}-k\right)^{2}\right) \equiv f\left(\left(k+\frac{1}{2}\right)^{2}\right) \quad(\bmod p) $$ There are only finitely many $p$ dividing $$ \prod_{k=1}^{c} f\left(\left(k+\frac{1}{2}\right)^{2}\right) $$ unless one of the terms in the product is zero; this means that $4 n-(2 k+1)^{2}$ divides $f(n)$. This establishes the claim and finishes the problem. ## §2 Solutions to Day 2 ## §2.1 USAMO 2006/4, proposed by Ricky Liu Available online at https://aops.com/community/p490647. ## Problem statement Find all positive integers $n$ for which there exist an integer $k \geq 2$ and positive rational numbers $a_{1}, \ldots, a_{k}$ satisfying $a_{1}+a_{2}+\cdots+a_{k}=a_{1} a_{2} \ldots a_{k}=n$. The answer is all $n$ other than $1,2,3,5$. Claim - The only solution with $n \leq 5$ is $n=4$. Proof. The case $n=4$ works since $2+2=2 \cdot 2=4$. So assume $n>4$. We now contend that $k>2$. Indeed, if $a_{1}+a_{2}=a_{1} a_{2}=n$ then $\left(a_{1}-a_{2}\right)^{2}=$ $\left(a_{1}+a_{2}\right)^{2}-4 a_{1} a_{2}=n^{2}-4 n=(n-2)^{2}-4$ is a rational integer square, hence a perfect square. This happens only when $n=4$. Now by AM-GM, $$ \frac{n}{k}=\frac{a_{1}+\cdots+a_{k}}{k} \geq \sqrt[k]{a_{1} \ldots a_{k}}=n^{1 / k} $$ and so $n \geq k^{\frac{1}{1-1 / k}}=k^{\frac{k}{k-1}}$. This last quantity is always greater than 5 , since $$ \begin{aligned} 3^{3 / 2} & =3 \sqrt{3}>5 \\ 4^{4 / 3} & =4 \sqrt[3]{4}>5 \\ k^{\frac{k}{k-1}} & >k \geq 5 \quad \forall k \geq 5 \end{aligned} $$ This finishes the proof. Now, in general: - If $n \geq 6$ is even, we may take $\left(a_{1}, \ldots, a_{n / 2}\right)=(n / 2,2,1, \ldots, 1)$. - If $n \geq 9$ is odd, we may take $\left(a_{1}, \ldots, a_{(n-3) / 2}\right)=(n / 2,1 / 2,4,1, \ldots, 1)$. - A special case $n=7$ : one example is $(4 / 3,7 / 6,9 / 2)$. (Another is $(7 / 6,4 / 3,3 / 2,3)$.) Remark. The main hurdle in the problem is the $n=7$ case. One good reason to believe a construction exists is that it seems quite difficult to prove that $n=7$ fails. ## §2.2 USAMO 2006/5, proposed by Zoran Sunik Available online at https://aops.com/community/p490682. ## Problem statement A mathematical frog jumps along the number line. The frog starts at 1 , and jumps according to the following rule: if the frog is at integer $n$, then it can jump either to $n+1$ or to $n+2^{m_{n}+1}$ where $2^{m_{n}}$ is the largest power of 2 that is a factor of $n$. Show that if $k \geq 2$ is a positive integer and $i$ is a nonnegative integer, then the minimum number of jumps needed to reach $2^{i} k$ is greater than the minimum number of jumps needed to reach $2^{i}$. We will think about the problem in terms of finite sequences of jumps $\left(s_{1}, s_{2}, \ldots, s_{\ell}\right)$, which we draw as $$ 1=x_{0} \xrightarrow{s_{1}} x_{1} \xrightarrow{s_{2}} x_{2} \xrightarrow{s_{3}} \ldots \xrightarrow{s_{\ell}} x_{\ell} $$ where $s_{k}=x_{k}-x_{k-1}$ is the length of some hop. We say the sequence is valid if it has the property required by the problem: for each $k$, either $s_{k}=1$ or $s_{k}=2^{m_{x_{k-1}}+1}$. An example is shown below. ## Lemma Let $\left(s_{1}, \ldots, s_{\ell}\right)$ be a sequence of jumps. Suppose we delete pick an index $k$ and exponent $e>0$, and delete any jumps after the $k$ th one which are divisible by $2^{e}$. The resulting sequence is still valid. Proof. We only have to look after the $k$ th jump. The launching points of the remaining jumps after the $k$ th one are now shifted by multiples of $2^{e}$ due to the deletions; so given a jump $x \xrightarrow{s} x+s$ we end up with a jump $x^{\prime} \xrightarrow{s} x^{\prime}+s$ where $x-x^{\prime}$ is a multiple of $2^{e}$. But since $s<2^{e}$, we have $\nu_{2}\left(x^{\prime}\right)