# USAMO 1999 Solution Notes Evan ChEn《陳誼廷》 15 April 2024 This is a compilation of solutions for the 1999 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 1999/1 ..... 3 1.2 USAMO 1999/2 ..... 4 1.3 USAMO 1999/3 2 Solutions to Day 2 ..... 8 2.1 USAMO 1999/4 ..... 8 2.2 USAMO 1999/5 ..... 9 2.3 USAMO 1999/6 ..... 10 ## §0 Problems 1. Some checkers placed on an $n \times n$ checkerboard satisfy the following conditions: (a) every square that does not contain a checker shares a side with one that does; (b) given any pair of squares that contain checkers, there is a sequence of squares containing checkers, starting and ending with the given squares, such that every two consecutive squares of the sequence share a side. Prove that at least $\left(n^{2}-2\right) / 3$ checkers have been placed on the board. 2. Let $A B C D$ be a convex cyclic quadrilateral. Prove that $$ |A B-C D|+|A D-B C| \geq 2|A C-B D| $$ 3. Let $p>2$ be a prime and let $a, b, c, d$ be integers not divisible by $p$, such that $$ \left\{\frac{r a}{p}\right\}+\left\{\frac{r b}{p}\right\}+\left\{\frac{r c}{p}\right\}+\left\{\frac{r d}{p}\right\}=2 $$ for any integer $r$ not divisible by $p$. (Here, $\{t\}=t-\lfloor t\rfloor$ is the fractional part.) Prove that at least two of the numbers $a+b, a+c, a+d, b+c, b+d, c+d$ are divisible by $p$. 4. Let $a_{1}, a_{2}, \ldots, a_{n}$ be a sequence of $n>3$ real numbers such that $$ a_{1}+\cdots+a_{n} \geq n \quad \text { and } \quad a_{1}^{2}+\cdots+a_{n}^{2} \geq n^{2} $$ Prove that $\max \left(a_{1}, \ldots, a_{n}\right) \geq 2$. 5. The Y2K Game is played on a $1 \times 2000$ grid as follows. Two players in turn write either an S or an O in an empty square. The first player who produces three consecutive boxes that spell SOS wins. If all boxes are filled without producing SOS then the game is a draw. Prove that the second player has a winning strategy. 6. Let $A B C D$ be an isosceles trapezoid with $A B \| C D$. The inscribed circle $\omega$ of triangle $B C D$ meets $C D$ at $E$. Let $F$ be a point on the (internal) angle bisector of $\angle D A C$ such that $E F \perp C D$. Let the circumscribed circle of triangle $A C F$ meet line $C D$ at $C$ and $G$. Prove that the triangle $A F G$ is isosceles. ## §1 Solutions to Day 1 ## §1.1 USAMO 1999/1 Available online at https://aops.com/community/p340035. ## Problem statement Some checkers placed on an $n \times n$ checkerboard satisfy the following conditions: (a) every square that does not contain a checker shares a side with one that does; (b) given any pair of squares that contain checkers, there is a sequence of squares containing checkers, starting and ending with the given squares, such that every two consecutive squares of the sequence share a side. Prove that at least $\left(n^{2}-2\right) / 3$ checkers have been placed on the board. Take a spanning tree on the set $V$ of checkers where the $|V|-1$ edges of the tree are given by orthogonal adjacency. By condition (a) we have $$ \sum_{v \in V}(4-\operatorname{deg} v) \geq n^{2}-|V| $$ and since $\sum_{v \in V} \operatorname{deg} v=2(|V|-1)$ we get $$ 4|V|-(2|V|-2) \geq n^{2}-|V| $$ which implies $|V| \geq \frac{n^{2}-2}{3}$. ## §1.2 USAMO 1999/2 Available online at https://aops.com/community/p340036. ## Problem statement Let $A B C D$ be a convex cyclic quadrilateral. Prove that $$ |A B-C D|+|A D-B C| \geq 2|A C-B D| . $$ Let the diagonals meet at $P$, and let $A P=p q, D P=p r, B P=q s, C P=r s$. Then set $A B=q x, C D=r x, A D=p y, B C=s y$. In this way we compute $$ |A C-B D|=|(p-s)(q-r)| $$ and $$ |A B-C D|=|q-r| x $$ By triangle inequality on $\triangle A X B$, we have $x \geq|p-s|$. So $|A B-C D| \geq|A C-B D|$. ## §1.3 USAMO 1999/3 Available online at https://aops.com/community/p340038. ## Problem statement Let $p>2$ be a prime and let $a, b, c, d$ be integers not divisible by $p$, such that $$ \left\{\frac{r a}{p}\right\}+\left\{\frac{r b}{p}\right\}+\left\{\frac{r c}{p}\right\}+\left\{\frac{r d}{p}\right\}=2 $$ for any integer $r$ not divisible by $p$. (Here, $\{t\}=t-\lfloor t\rfloor$ is the fractional part.) Prove that at least two of the numbers $a+b, a+c, a+d, b+c, b+d, c+d$ are divisible by $p$. First of all, we apparently have $r(a+b+c+d) \equiv 0(\bmod p)$ for every prime $p$, so it automatically follows that $a+b+c+d \equiv 0(\bmod p)$. By scaling appropriately, and also replacing each number with its remainder modulo $p$, we are going to assume that $$ 1=a \leq b \leq c \leq d

1$. Then evidently $$ r-1>\left\lfloor\frac{r d}{p}\right\rfloor \geq\left\lfloor\frac{(r-1) d}{p}\right\rfloor=r-2 $$ Now, we have that $$ 2(r-1)=\left\lfloor\frac{r b}{p}\right\rfloor+\left\lfloor\frac{r c}{p}\right\rfloor+\underbrace{\left\lfloor\frac{r d}{p}\right\rfloor}_{=r-2} . $$ Thus $\left\lfloor\frac{r b}{p}\right\rfloor>\left\lfloor\frac{(r-1) b}{p}\right\rfloor$, and $\left\lfloor\frac{r c}{p}\right\rfloor>\left\lfloor\frac{(r-1) b}{p}\right\rfloor$. An example of this situation is illustrated below with $r=7$ (not to scale). ![](https://cdn.mathpix.com/cropped/2024_11_19_4e30714afd39bc4610deg-06.jpg?height=330&width=1129&top_left_y=1000&top_left_x=469) Right now, $\frac{b}{p}$ and $\frac{c}{p}$ are just to the right of $\frac{u}{r}$ and $\frac{v}{r}$ for some $u$ and $v$ with $u+v=r$. The issue is that the there is some fraction just to the right of $\frac{b}{p}$ and $\frac{c}{p}$ from an earlier value of $r$, and by hypothesis its denominator is going to be strictly greater than 1 . It is at this point we are going to use the properties of Farey sequences. When we consider the fractions with denominator $r+1$, they are going to lie outside of the interval they we have constrained $\frac{b}{p}$ and $\frac{c}{p}$ to lie in. Indeed, our minimality assumption on $r$ guarantees that there is no fraction with denominator less than $r$ between $\frac{u}{r}$ and $\frac{b}{p}$. So if $\frac{u}{r}<\frac{b}{p}<\frac{s}{t}$ (where $\frac{u}{r}$ and $\frac{s}{t}$ are the closest fractions with denominator at most $r$ to $\frac{b}{p}$ ) then Farey theory says the next fraction inside the interval $\left[\frac{u}{r}, \frac{s}{t}\right]$ is $\frac{u+s}{r+t}$, and since $t>1$, we have $r+t>r+1$. In other words, we get an inequality of the form $$ \frac{u}{r}<\frac{b}{p}<\underbrace{\text { something }}_{=s / t} \leq \frac{u+1}{r+1} . $$ The same holds for $\frac{c}{p}$ as $$ \frac{v}{r}<\frac{c}{p}<\text { something } \leq \frac{v+1}{r+1} $$ Finally, $$ \frac{d}{p}<\frac{r-1}{r}<\frac{r}{r+1} $$ So now we have that $$ \left\lfloor\frac{(r+1) b}{p}\right\rfloor+\left\lfloor\frac{(r+1) c}{p}\right\rfloor+\left\lfloor\frac{(r+1) d}{p}\right\rfloor \leq u+v+(r-1)=2 r-1 $$ which is a contradiction. Now, since $$ \frac{p-3}{p-2}<\frac{d}{p} \Longrightarrow d>\frac{p(p-3)}{p-2}=p-1-\frac{2}{p-2} $$ which for $p>2$ gives $d=p-1$. ## §2 Solutions to Day 2 ## §2.1 USAMO 1999/4 Available online at https://aops.com/community/p63591. ## Problem statement Let $a_{1}, a_{2}, \ldots, a_{n}$ be a sequence of $n>3$ real numbers such that $$ a_{1}+\cdots+a_{n} \geq n \quad \text { and } \quad a_{1}^{2}+\cdots+a_{n}^{2} \geq n^{2} $$ Prove that $\max \left(a_{1}, \ldots, a_{n}\right) \geq 2$. Proceed by contradiction, assuming $a_{i}<2$ for all $i$. If all $a_{i} \geq 0$, then $n^{2} \leq \sum_{i} a_{i}^{2}0)$, then we can replace them with $-(x+y)$ and 0 . So we may assume that there is exactly one negative term, say $a_{n}=-M$. Now, smooth all the nonnegative $a_{i}$ to be 2 , making all inequalities strict. Now, we have that $$ \begin{aligned} 2(n-1)-M & >n \\ 4(n-1)+M^{2} & >n^{2} \end{aligned} $$ This gives $n-2