# USAMO 2007 Solution Notes Evan Chen《陳誼廷》 15 April 2024 This is a compilation of solutions for the 2007 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 2007/1, proposed by Sam Vandervelde ..... 3 1.2 USAMO 2007/2, proposed by Gregory Galperin ..... 4 1.3 USAMO 2007/3, proposed by Andras Gyarfas ..... 5 2 Solutions to Day 2 ..... 7 2.1 USAMO 2007/4, proposed by Reid Barton ..... 7 2.2 USAMO 2007/5, proposed by Titu Andreescu ..... 8 2.3 USAMO 2007/6, proposed by Sung-Yoon Kim ..... 9 ## §0 Problems 1. Let $n$ be a positive integer. Define a sequence by setting $a_{1}=n$ and, for each $k>1$, letting $a_{k}$ be the unique integer in the range $0 \leq a_{k} \leq k-1$ for which $a_{1}+a_{2}+\cdots+a_{k}$ is divisible by $k$. (For instance, when $n=9$ the obtained sequence is $9,1,2,0,3,3,3, \ldots$ ) Prove that for any $n$ the sequence $a_{1}, a_{2}, \ldots$ eventually becomes constant. 2. Decide whether it possible to cover all lattice points in $\mathbb{R}^{2}$ by an (infinite) family of disks whose interiors are disjoint such that the radius of each disk is at least 5 . 3. Let $S$ be a set containing $n^{2}+n-1$ elements. Suppose that the $n$-element subsets of $S$ are partitioned into two classes. Prove that there are at least $n$ pairwise disjoint sets in the same class. 4. An animal with $n$ cells is a connected figure consisting of $n$ equal-sized square cells (equivalently, a polyomino with $n$ cells). A dinosaur is an animal with at least 2007 cells. It is said to be primitive it its cells cannot be partitioned into two or more dinosaurs. Find with proof the maximum number of cells in a primitive dinosaur. 5. Prove that for every nonnegative integer $n$, the number $7^{7^{n}}+1$ is the product of at least $2 n+3$ (not necessarily distinct) primes. 6. Let $A B C$ be an acute triangle with $\omega, S$, and $R$ being its incircle, circumcircle, and circumradius, respectively. Circle $\omega_{A}$ is tangent internally to $S$ at $A$ and tangent externally to $\omega$. Circle $S_{A}$ is tangent internally to $S$ at $A$ and tangent internally to $\omega$. Let $P_{A}$ and $Q_{A}$ denote the centers of $\omega_{A}$ and $S_{A}$, respectively. Define points $P_{B}$, $Q_{B}, P_{C}, Q_{C}$ analogously. Prove that $$ 8 P_{A} Q_{A} \cdot P_{B} Q_{B} \cdot P_{C} Q_{C} \leq R^{3} $$ with equality if and only if triangle $A B C$ is equilateral. ## §1 Solutions to Day 1 ## §1.1 USAMO 2007/1, proposed by Sam Vandervelde Available online at https://aops.com/community/p825490. ## Problem statement Let $n$ be a positive integer. Define a sequence by setting $a_{1}=n$ and, for each $k>1$, letting $a_{k}$ be the unique integer in the range $0 \leq a_{k} \leq k-1$ for which $a_{1}+a_{2}+\cdots+a_{k}$ is divisible by $k$. (For instance, when $n=9$ the obtained sequence is $9,1,2,0,3,3,3, \ldots$ ) Prove that for any $n$ the sequence $a_{1}, a_{2}, \ldots$ eventually becomes constant. For each $k$, the number $$ b_{k}:=\frac{1}{k}\left(a_{1}+\cdots+a_{k}\right) $$ is a nonnegative integer. Claim - The sequence $\left(b_{k}\right)$ is eventually constant. Proof. Since $$ b_{k+1}=\frac{a_{1}+\cdots+a_{k}+a_{k+1}}{k+1} \leq \frac{k b_{k}+k}{k+1}1 / \sqrt{2}$. In particular $(\odot O)$ must contain a lattice point as it contains a unit square. Remark. The order of the argument here matters in subtle ways. A common approach is to try and reduce to the "optimal" case where we have three mutually tangent circles, and then apply the Descarte circle theorem. There are ways in which this approach can fail if the execution is not done with care. (In particular, one cannot simply say to reduce to this case, without some justification.) For example: it is not true that, given an infinite family of disks, we can enlarge disks until we get three mutually tangent ones. As a counterexample consider the "square grid" in which a circle is centered at $(10 m, 10 n)$ for each $m, n \in \mathbb{Z}$ and has radius 5 . Thus it is also not possible to simply pick three nearby circles and construct a circle tangent to all three: that newly constructed circle might intersect a fourth disk not in the picture. Thus, when constructing the small disk $\odot O$ in the above solution, it seems easiest to start with a point not covered and grow $\odot O$ until it is tangent to some three circles, and then argue by cosine law. Otherwise it not easy to determine which three circles to start with. In all solutions it seems easier to prove that a disjoint circle of radius $1 / \sqrt{2}$ exists, and then finally deduce it has a lattice point, rather than trying to work the lattice point into the existence proof. ## §1.3 USAMO 2007/3, proposed by Andras Gyarfas Available online at https://aops.com/community/p825499. ## Problem statement Let $S$ be a set containing $n^{2}+n-1$ elements. Suppose that the $n$-element subsets of $S$ are partitioned into two classes. Prove that there are at least $n$ pairwise disjoint sets in the same class. We present two solutions which are really equivalent, but phrased differently. We refer to the two classes as "red" and "blue", respectively. 【 First solution (Grant Yu). We define a set of $n+1$ elements to be useful if it has $n$-element subsets in each class. Consider a maximal collection of disjoint useful sets and assume there are $p$ such sets. Then, let $T$ be the set of elements remaining (i.e. not in one of chosen useful sets). Claim - All subsets of $T$ of size $n$ are the same color. Proof. Assume there was a red set $R$ in $T$. Replace the elements of $R$ one by one until we get to any other subset $R^{\prime}$ of $T$. At each step, because no sets of $T$ form a useful set, the set remains red - so $R^{\prime}$ is red too. Since $R^{\prime}$ is arbitrary, this proves the claim. We have $|T|=n^{2}+n-1-p(n+1)$, and in particular $p