problem
stringlengths
10
5.15k
answer
stringlengths
0
1.22k
solution
stringlengths
0
11.1k
difficulty
float64
0.75
2.02k
difficulty_raw
listlengths
3
8
Teresa the bunny has a fair 8-sided die. Seven of its sides have fixed labels $1,2, \ldots, 7$, and the label on the eighth side can be changed and begins as 1. She rolls it several times, until each of $1,2, \ldots, 7$ appears at least once. After each roll, if $k$ is the smallest positive integer that she has not rol...
104
Let $n=7$ and $p=\frac{1}{4}$. Let $q_{k}$ be the probability that $n$ is the last number rolled, if $k$ numbers less than $n$ have already been rolled. We want $q_{0}$ and we know $q_{n-1}=1$. We have the relation $$q_{k}=(1-p) \frac{k}{n-1} q_{k}+\left[1-(1-p) \frac{k+1}{n-1}\right] q_{k+1}$$ This rearranges to $$\le...
5.625
[ 6, 5, 6, 6, 4, 6, 6, 6 ]
Victor has a drawer with 6 socks of 3 different types: 2 complex socks, 2 synthetic socks, and 2 trigonometric socks. He repeatedly draws 2 socks at a time from the drawer at random, and stops if the socks are of the same type. However, Victor is 'synthetic-complex type-blind', so he also stops if he sees a synthetic a...
\frac{3}{7}
Let the socks be $C_{1}, C_{2}, S_{1}, S_{2}, T_{1}, T_{2}$, where $C, S$ and $T$ stand for complex, synthetic and trigonometric respectively. The possible stopping points consist of three pairs of socks of the same type plus four different complex-synthetic $(C-S)$ pairs, for a total of 7 . So the answer is $\frac{3}{...
3.75
[ 4, 4, 4, 4, 3, 4, 4, 3 ]
Let $p$ be a real number and $c \neq 0$ an integer such that $c-0.1<x^{p}\left(\frac{1-(1+x)^{10}}{1+(1+x)^{10}}\right)<c+0.1$ for all (positive) real numbers $x$ with $0<x<10^{-100}$. Find the ordered pair $(p, c)$.
(-1, -5)
We are essentially studying the rational function $f(x):=\frac{1-(1+x)^{10}}{1+(1+x)^{10}}=\frac{-10 x+O\left(x^{2}\right)}{2+O(x)}$. Intuitively, $f(x) \approx \frac{-10 x}{2}=-5 x$ for "small nonzero $x$ ". So $g(x):= x^{p} f(x) \approx-5 x^{p+1}$ for "small nonzero $x$ ". If $p+1=0, g \approx-5$ becomes approximatel...
6.375
[ 6, 6, 7, 6, 7, 6, 6, 7 ]
Let $R$ be the rectangle in the Cartesian plane with vertices at $(0,0),(2,0),(2,1)$, and $(0,1)$. $R$ can be divided into two unit squares, as shown; the resulting figure has seven edges. How many subsets of these seven edges form a connected figure?
81
We break this into cases. First, if the middle edge is not included, then there are $6 * 5=30$ ways to choose two distinct points for the figure to begin and end at. We could also allow the figure to include all or none of the six remaining edges, for a total of 32 connected figures not including the middle edge. Now l...
6.125
[ 6, 6, 6, 6, 6, 6, 7, 6 ]
Compute $\sum_{n=1}^{\infty} \sum_{k=1}^{n-1} \frac{k}{2^{n+k}}$.
\frac{4}{9}
We change the order of summation: $\sum_{n=1}^{\infty} \sum_{k=1}^{n-1} \frac{k}{2^{n+k}}=\sum_{k=1}^{\infty} \frac{k}{2^{k}} \sum_{n=k+1}^{\infty} \frac{1}{2^{n}}=\sum_{k=1}^{\infty} \frac{k}{4^{k}}=\frac{4}{9}$. (The last two steps involve the summation of an infinite geometric series, and what is sometimes called an...
5.75
[ 5, 6, 6, 6, 6, 6, 6, 5 ]
Let $x, y$, and $z$ be distinct real numbers that sum to 0. Find the maximum possible value of $$\frac{x y+y z+z x}{x^{2}+y^{2}+z^{2}}$$
-1/2
Note that $0=(x+y+z)^{2}=x^{2}+y^{2}+z^{2}+2 x y+2 y z+2 z x$. Rearranging, we get that $x y+y z+z x=-\frac{1}{2}\left(x^{2}+y^{2}+z^{2}\right)$, so that in fact the quantity is always equal to $-1 / 2$.
4.125
[ 4, 4, 4, 4, 4, 4, 4, 5 ]
How many real numbers $x$ are solutions to the following equation? $$2003^{x}+2004^{x}=2005^{x}$$
1
Rewrite the equation as $(2003 / 2005)^{x}+(2004 / 2005)^{x}=1$. The left side is strictly decreasing in $x$, so there cannot be more than one solution. On the other hand, the left side equals $2>1$ when $x=0$ and goes to 0 when $x$ is very large, so it must equal 1 somewhere in between. Therefore there is one solution...
3.75
[ 4, 3, 4, 4, 4, 4, 3, 4 ]
Find $(x+1)\left(x^{2}+1\right)\left(x^{4}+1\right)\left(x^{8}+1\right) \cdots$, where $|x|<1$.
\frac{1}{1-x}
Let $S=(x+1)\left(x^{2}+1\right)\left(x^{4}+1\right)\left(x^{8}+1\right) \cdots=1+x+x^{2}+x^{3}+\cdots$. Since $x S=x+x^{2}+x^{3}+x^{4}+\cdots$, we have $(1-x) S=1$, so $S=\frac{1}{1-x}$.
5.5
[ 5, 6, 6, 6, 6, 5, 5, 5 ]
A lame king is a chess piece that can move from a cell to any cell that shares at least one vertex with it, except for the cells in the same column as the current cell. A lame king is placed in the top-left cell of a $7 \times 7$ grid. Compute the maximum number of cells it can visit without visiting the same cell twic...
43
Color the columns all-black and all-white, alternating by column. Each move the lame king takes will switch the color it's on. Assuming the king starts on a black cell, there are 28 black and 21 white cells, so it can visit at most $22+21=43$ cells in total, which is easily achievable.
4.625
[ 5, 5, 5, 4, 4, 5, 5, 4 ]
Suppose $f(x)$ is a rational function such that $3f\left(\frac{1}{x}\right) + \frac{2f(x)}{x} = x^{2}$ for $x \neq 0$. Find $f(-2)$.
\frac{67}{20}
Let $x = \frac{-1}{2}$. Then $$\begin{align*} 3f(-2) + \frac{2f\left(\frac{-1}{2}\right)}{\frac{-1}{2}} = & \frac{1}{4} \\ \Rightarrow 3f(-2) - 4f\left(\frac{-1}{2}\right) & = \frac{1}{4} \tag{1} \end{align*}$$ Let $x = -2$. Then $$\begin{align*} & 3f\left(\frac{-1}{2}\right) + \frac{2f(-2)}{-2} = 4 \\ \Rightarrow 3f\l...
6
[ 6, 6, 7, 6, 6, 6, 5, 6 ]
How many integers between 1 and 2000 inclusive share no common factors with 2001?
1232
Two integers are said to be relatively prime if they share no common factors, that is if there is no integer greater than 1 that divides evenly into both of them. Note that 1 is relatively prime to all integers. Let \varphi(n)$ be the number of integers less than $n$ that are relatively prime to $n$. Since \varphi(m n)...
4.625
[ 5, 4, 4, 5, 5, 5, 4, 5 ]
Find the smallest $n$ such that $n$! ends in 290 zeroes.
1170
Each 0 represents a factor of $10=2 \cdot 5$. Thus, we wish to find the smallest factorial that contains at least 290 2's and 290 5's in its prime factorization. Let this number be $n$!, so the factorization of $n$! contains 2 to the power $p$ and 5 to the power $q$, where $$p=\left\lfloor\frac{n}{2}\right\rfloor+\left...
5.875
[ 6, 6, 6, 6, 6, 6, 5, 6 ]
For how many integers $n$, for $1 \leq n \leq 1000$, is the number $\frac{1}{2}\binom{2 n}{n}$ even?
990
In fact, the expression $\binom{2 n}{n}$ is always even, and it is not a multiple of four if and only if $n$ is a power of 2, and there are 10 powers of 2 between 1 and 1000. Let $f(N)$ denote the number of factors of 2 in $N$. Thus, $$f(n!)=\left\lfloor\frac{n}{2}\right\rfloor+\left\lfloor\frac{n}{4}\right\rfloor+\lef...
6.125
[ 6, 5, 6, 6, 7, 7, 6, 6 ]
You are given an unlimited supply of red, blue, and yellow cards to form a hand. Each card has a point value and your score is the sum of the point values of those cards. The point values are as follows: the value of each red card is 1 , the value of each blue card is equal to twice the number of red cards, and the val...
168
If there are $B$ blue cards, then each red card contributes $1+2 B$ points (one for itself and two for each blue card) and each yellow card contributes $3 B$ points. Thus, if $B>1$, it is optimal to change all red cards to yellow cards. When $B=0$, the maximum number of points is 15 . When $B=1$, the number of points i...
5.625
[ 6, 6, 5, 6, 6, 4, 6, 6 ]
Brian has a 20-sided die with faces numbered from 1 to 20, and George has three 6-sided dice with faces numbered from 1 to 6. Brian and George simultaneously roll all their dice. What is the probability that the number on Brian's die is larger than the sum of the numbers on George's dice?
\frac{19}{40}
Let Brian's roll be $d$ and let George's rolls be $x, y, z$. By pairing the situation $d, x, y, z$ with $21-d, 7-x, 7-y, 7-z$, we see that the probability that Brian rolls higher is the same as the probability that George rolls higher. Given any of George's rolls $x, y, z$, there is exactly one number Brian can roll wh...
5.25
[ 5, 6, 6, 5, 6, 4, 5, 5 ]
A sequence of positive integers is defined by $a_{0}=1$ and $a_{n+1}=a_{n}^{2}+1$ for each $n \geq 0$. Find $\operatorname{gcd}(a_{999}, a_{2004})$.
677
If $d$ is the relevant greatest common divisor, then $a_{1000}=a_{999}^{2}+1 \equiv 1=a_{0}(\bmod d)$, which implies (by induction) that the sequence is periodic modulo $d$, with period 1000 . In particular, $a_{4} \equiv a_{2004} \equiv 0$. So $d$ must divide $a_{4}$. Conversely, we can see that $a_{5}=a_{4}^{2}+1 \eq...
6.5
[ 7, 7, 6, 6, 7, 6, 6, 7 ]
The number $27,000,001$ has exactly four prime factors. Find their sum.
652
First, we factor $$\begin{aligned} 27 x^{6}+1 & =\left(3 x^{2}\right)^{3}+1 \\ & =\left(3 x^{2}+1\right)\left(9 x^{4}-3 x^{2}+1\right) \\ & =\left(3 x^{2}+1\right)\left(\left(9 x^{4}+6 x^{2}+1\right)-9 x^{2}\right) \\ & =\left(3 x^{2}+1\right)\left(\left(3 x^{2}+1\right)^{2}-(3 x)^{2}\right) \\ & =\left(3 x^{2}+1\right...
5.875
[ 6, 5, 6, 6, 6, 6, 6, 6 ]
How many ways can one color the squares of a $6 \times 6$ grid red and blue such that the number of red squares in each row and column is exactly 2?
67950
Assume the grid is $n \times n$. Let $f(n)$ denote the number of ways to color exactly two squares in each row and column red. So $f(1)=0$ and $f(2)=1$. We note that coloring two squares red in each row and column partitions the set $1,2, \ldots, n$ into cycles such that $i$ is in the same cycle as, and adjacent to, $j...
6.75
[ 8, 6, 6, 7, 6, 7, 7, 7 ]
Let $S$ be the set of points $(a, b)$ with $0 \leq a, b \leq 1$ such that the equation $x^{4}+a x^{3}-b x^{2}+a x+1=0$ has at least one real root. Determine the area of the graph of $S$.
\frac{1}{4}
After dividing the equation by $x^{2}$, we can rearrange it as $(x+\frac{1}{x})^{2}+a(x+\frac{1}{x})-b-2=0$. Let $y=x+\frac{1}{x}$. We can check that the range of $x+\frac{1}{x}$ as $x$ varies over the nonzero reals is $(-\infty,-2] \cup[2, \infty)$. Thus, the following equation needs to have a real root: $y^{2}+a y-b-...
6.125
[ 6, 6, 6, 6, 6, 7, 6, 6 ]
For a permutation $\sigma$ of $1,2, \ldots, 7$, a transposition is a swapping of two elements. Let $f(\sigma)$ be the minimum number of transpositions necessary to turn $\sigma$ into the permutation $1,2,3,4,5,6,7$. Find the sum of $f(\sigma)$ over all permutations $\sigma$ of $1,2, \ldots, 7$.
22212
To solve this problem, we use the idea of a cycle in a permutation. If $\sigma$ is a permutation, we say that $\left(a_{1} a_{2} \cdots a_{k}\right)$ is a cycle if $\sigma\left(a_{i}\right)=\sigma\left(a_{i+1}\right)$ for $1 \leq i \leq k-1$ and $\sigma\left(a_{k}\right)=a_{1}$. Any permutation can be decomposed into d...
6.875
[ 6, 7, 6, 8, 7, 6, 8, 7 ]
Kevin has four red marbles and eight blue marbles. He arranges these twelve marbles randomly, in a ring. Determine the probability that no two red marbles are adjacent.
\frac{7}{33}
Select any blue marble and consider the remaining eleven marbles, arranged in a line. The proportion of arrangement for which no two red marbles are adjacent will be the same as for the original twelve marbles, arranged in a ring. The total number of ways of arranging 4 red marbles out of 11 is $\binom{11}{4}=330$. To ...
4.125
[ 4, 4, 4, 5, 4, 4, 4, 4 ]
A classroom consists of a $5 \times 5$ array of desks, to be filled by anywhere from 0 to 25 students, inclusive. No student will sit at a desk unless either all other desks in its row or all others in its column are filled (or both). Considering only the set of desks that are occupied (and not which student sits at ea...
962
The set of empty desks must be of the form (non-full rows) $\times$ (non-full columns): each empty desk is in a non-full column and a non-full row, and the given condition implies that each desk in such a position is empty. So if there are fewer than 25 students, then both of these sets are nonempty; we have $2^{5}-1=3...
5.875
[ 6, 6, 6, 6, 5, 6, 6, 6 ]
What is the last digit of $1^{1}+2^{2}+3^{3}+\cdots+100^{100}$?
0
Let $L(d, n)$ be the last digit of a number ending in $d$ to the $n$th power. For $n \geq 1$, we know that $L(0, n)=0, L(1, n)=1, L(5, n)=5, L(6, n)=6$. All numbers ending in odd digits in this series are raised to odd powers; for odd $n, L(3, n)=3$ or 7, $L(7, n)=3$ or $7, L(9, n)=9$. All numbers ending in even digits...
4.125
[ 4, 4, 4, 4, 5, 4, 4, 4 ]
Given a set $A$ with 10 elements, find the number of consistent 2-configurations of $A$ of order 2 with exactly 2 cells.
99144
Notice that if we look only at the pairs contained within any fixed cell, each element of that cell still lies in 2 such pairs, since all the pairs it belongs to are contained within that cell. Thus we have an induced consistent 2-configuration of order 2 of each cell. Now, each cell must have at least 3 elements for t...
6.75
[ 6, 7, 7, 7, 6, 7, 7, 7 ]
John needs to pay 2010 dollars for his dinner. He has an unlimited supply of 2, 5, and 10 dollar notes. In how many ways can he pay?
20503
Let the number of 2,5 , and 10 dollar notes John can use be $x, y$, and $z$ respectively. We wish to find the number of nonnegative integer solutions to $2 x+5 y+10 z=2010$. Consider this equation $\bmod 2$. Because $2 x, 10 z$, and 2010 are even, $5 y$ must also be even, so $y$ must be even. Now consider the equation ...
5
[ 5, 5, 6, 5, 4, 5, 6, 4 ]
Several positive integers are given, not necessarily all different. Their sum is 2003. Suppose that $n_{1}$ of the given numbers are equal to $1, n_{2}$ of them are equal to $2, \ldots, n_{2003}$ of them are equal to 2003. Find the largest possible value of $$n_{2}+2 n_{3}+3 n_{4}+\cdots+2002 n_{2003}$$
2002
The sum of all the numbers is $n_{1}+2 n_{2}+\cdots+2003 n_{2003}$, while the number of numbers is $n_{1}+n_{2}+\cdots+n_{2003}$. Hence, the desired quantity equals $$(\text { sum of the numbers })-(\text { number of numbers }) =2003-(\text { number of numbers })$$ which is maximized when the number of numbers is minim...
4.25
[ 4, 4, 4, 4, 3, 5, 5, 5 ]
An up-right path between two lattice points $P$ and $Q$ is a path from $P$ to $Q$ that takes steps of length 1 unit either up or to the right. How many up-right paths from $(0,0)$ to $(7,7)$, when drawn in the plane with the line $y=x-2.021$, enclose exactly one bounded region below that line?
637
We will make use of a sort of bijection which is typically used to prove the closed form for the Catalan numbers. We will count these paths with complementary counting. Since both the starting and ending points are above the line $x-2.021$, any path which traverses below this line (and hence includes a point on the lin...
6.25
[ 6, 6, 7, 6, 6, 6, 6, 7 ]
A frog is at the point $(0,0)$. Every second, he can jump one unit either up or right. He can only move to points $(x, y)$ where $x$ and $y$ are not both odd. How many ways can he get to the point $(8,14)$?
330
When the frog is at a point $(x, y)$ where $x$ and $y$ are both even, then if that frog chooses to move right, his next move will also have to be a step right; similarly, if he moves up, his next move will have to be up. If we 'collapse' each double step into one step, the problem simply becomes how many ways are there...
5.625
[ 5, 5, 5, 5, 6, 7, 6, 6 ]
An $E$-shape is a geometric figure in the two-dimensional plane consisting of three rays pointing in the same direction, along with a line segment such that the endpoints of the rays all lie on the segment, the segment is perpendicular to all three rays, both endpoints of the segment are endpoints of rays. Suppose two ...
11
Define a $C$-shape to be an $E$-shape without the middle ray. Then, an $E$-shape consists of a ray and a $C$-shape. Two $C$-shapes can intersect at most 6 times, a $C$-shape and a ray can intersect at most 2 times, and two rays can intersect at most 1 time. Thus, the number of intersections of two $E$-shapes is at most...
6.125
[ 5, 7, 7, 6, 6, 6, 6, 6 ]
Find the sum of every even positive integer less than 233 not divisible by 10.
10812
We find the sum of all positive even integers less than 233 and then subtract all the positive integers less than 233 that are divisible by 10. $2 + 4 + \ldots + 232 = 2(1 + 2 + \ldots + 116) = 116 \cdot 117 = 13572$. The sum of all positive integers less than 233 that are divisible by 10 is $10 + 20 + \ldots + 230 = 1...
3.375
[ 3, 3, 4, 4, 3, 3, 3, 4 ]
A unit square $A B C D$ and a circle $\Gamma$ have the following property: if $P$ is a point in the plane not contained in the interior of $\Gamma$, then $\min (\angle A P B, \angle B P C, \angle C P D, \angle D P A) \leq 60^{\circ}$. The minimum possible area of $\Gamma$ can be expressed as $\frac{a \pi}{b}$ for relat...
106
Note that the condition for $\Gamma$ in the problem is equivalent to the following condition: if $\min (\angle A P B, \angle B P C, \angle C P D, \angle D P A)>60^{\circ}$, then $P$ is contained in the interior of $\Gamma$. Let $X_{1}, X_{2}, X_{3}$, and $X_{4}$ be the four points in $A B C D$ such that $A B X_{1}, B C...
6.75
[ 6, 7, 7, 6, 7, 7, 7, 7 ]
In how many ways can we enter numbers from the set $\{1,2,3,4\}$ into a $4 \times 4$ array so that all of the following conditions hold? (a) Each row contains all four numbers. (b) Each column contains all four numbers. (c) Each "quadrant" contains all four numbers. (The quadrants are the four corner $2 \times 2$ squar...
288
Call a filled $4 \times 4$ array satisfying the given conditions cool. There are 4 ! possibilities for the first row; WLOG, let it be 1234. Since each quadrant has to contain all four numbers, we have exactly four possibilities for the second row, namely: (i) 3412 (ii) 3421 (iii) 4312 (iv) 4321 I claim that the number ...
6.5
[ 7, 7, 7, 6, 6, 6, 7, 6 ]
Evaluate the sum $$\frac{1}{2\lfloor\sqrt{1}\rfloor+1}+\frac{1}{2\lfloor\sqrt{2}\rfloor+1}+\frac{1}{2\lfloor\sqrt{3}\rfloor+1}+\cdots+\frac{1}{2\lfloor\sqrt{100}\rfloor+1}$$
190/21
The first three terms all equal $1 / 3$, then the next five all equal $1 / 5$; more generally, for each $a=1,2, \ldots, 9$, the terms $1 /(2\lfloor\sqrt{a^{2}}\rfloor+1)$ to $1 /(2\lfloor\sqrt{a^{2}+2 a}\rfloor+1)$ all equal $1 /(2 a+1)$, and there are $2 a+1$ such terms. Thus our terms can be arranged into 9 groups, e...
4.25
[ 5, 5, 4, 4, 4, 4, 4, 4 ]
How many 5-digit numbers $\overline{a b c d e}$ exist such that digits $b$ and $d$ are each the sum of the digits to their immediate left and right? (That is, $b=a+c$ and $d=c+e$.)
330
Note that $a>0$, so that $b>c$, and $e \geq 0$ so that $d \geq c$. Conversely, for each choice of $(b, c, d)$ with $b>c$ and $d \geq c$, there exists a unique pair $(a, e)$ such that $\overline{a b c d e}$ is a number having the desired property. Thus, we compute $$\sum_{c=0}^{9}(9-c)(10-c)=\sum_{c=0}^{9} c^{2}-19 c+90...
4.375
[ 4, 4, 4, 4, 4, 6, 5, 4 ]
Three distinct vertices are randomly selected among the five vertices of a regular pentagon. Let $p$ be the probability that the triangle formed by the chosen vertices is acute. Compute $10 p$.
5
The only way for the three vertices to form an acute triangle is if they consist of two adjacent vertices and the vertex opposite their side. Since there are 5 ways to choose this and $\binom{5}{3}=10$ ways to choose the three vertices, we have $p=\frac{5}{10}=\frac{1}{2}$.
3.625
[ 4, 3, 4, 3, 4, 3, 4, 4 ]
Given that three roots of $f(x) = x^{4} + ax^{2} + bx + c$ are $2, -3$, and $5$, what is the value of $a + b + c$?
79
By definition, the coefficient of $x^{3}$ is negative the sum of the roots. In $f(x)$, the coefficient of $x^{3}$ is 0. Thus the sum of the roots of $f(x)$ is 0. Then the fourth root is -4. Then $f(x) = (x-2)(x+3)(x-5)(x+4)$. Notice that $f(1)$ is $1 + a + b + c$. Thus our answer is $f(1) - 1 = (1-2)(1+3)(1-5)(1+4) - 1...
4.125
[ 4, 4, 4, 4, 5, 4, 4, 4 ]
Compute the remainder when 10002000400080016003200640128025605121024204840968192 is divided by 100020004000800160032.
40968192
Let $X_{k}$ denote $2^{k}$ except with leading zeroes added to make it four digits long. Let $\overline{a b c \cdots}$ denote the number obtained upon concatenating $a, b, c, \ldots$ We have $$2^{6} \cdot \overline{X_{0} X_{1} \ldots X_{5}}=\overline{X_{6} X_{7} \ldots X_{11}}$$ Therefore, $\overline{X_{0} X_{1} \ldots...
7.125
[ 6, 8, 8, 6, 7, 7, 8, 7 ]
Let $N$ be the number of triples of positive integers $(a, b, c)$ satisfying $a \leq b \leq c, \quad \operatorname{gcd}(a, b, c)=1, \quad a b c=6^{2020}$. Compute the remainder when $N$ is divided by 1000.
602
Let $n=2020$. If we let $a=2^{p_{1}} \cdot 3^{q_{1}}, b=2^{p_{2}} \cdot 3^{q_{2}}, c=2^{p_{3}} \cdot 3^{q_{3}}$, then the number of ordered triples $(a, b, c)$ that satisfy the second and third conditions is the number of nonnegative solutions to $p_{1}+p_{2}+p_{3}=n$ and $q_{1}+q_{2}+q_{3}=n$, where at least one of $p...
7.25
[ 7, 8, 7, 8, 7, 7, 7, 7 ]
Compute the number of permutations $\pi$ of the set $\{1,2, \ldots, 10\}$ so that for all (not necessarily distinct) $m, n \in\{1,2, \ldots, 10\}$ where $m+n$ is prime, $\pi(m)+\pi(n)$ is prime.
4
Since $\pi$ sends pairs $(m, n)$ with $m+n$ prime to pairs $\left(m^{\prime}, n^{\prime}\right)$ with $m^{\prime}+n^{\prime}$ prime, and there are only finitely many such pairs, we conclude that if $m+n$ is composite, then so is $\pi(m)+\pi(n)$. Also note that $2 \pi(1)=\pi(1)+\pi(1)$ is prime because $2=1+1$ is prime....
6.625
[ 7, 7, 6, 7, 6, 7, 7, 6 ]
For an integer $n$, let $f_{9}(n)$ denote the number of positive integers $d \leq 9$ dividing $n$. Suppose that $m$ is a positive integer and $b_{1}, b_{2}, \ldots, b_{m}$ are real numbers such that $f_{9}(n)=\sum_{j=1}^{m} b_{j} f_{9}(n-j)$ for all $n>m$. Find the smallest possible value of $m$.
28
Let $M=9$. Consider the generating function $$F(x)=\sum_{n \geq 1} f_{M}(n) x^{n}=\sum_{d=1}^{M} \sum_{k \geq 1} x^{d k}=\sum_{d=1}^{M} \frac{x^{d}}{1-x^{d}}$$ Observe that $f_{M}(n)=f_{M}\left(n+M\right.$ !) for all $n \geq 1$ (in fact, all $n \leq 0$ as well). Thus $f_{M}(n)$ satisfies a degree $m$ linear recurrence ...
7.625
[ 8, 8, 8, 8, 8, 6, 8, 7 ]
An ant starts at the point $(0,0)$ in the Cartesian plane. In the first minute, the ant faces towards $(1,0)$ and walks one unit. Each subsequent minute, the ant chooses an angle $\theta$ uniformly at random in the interval $\left[-90^{\circ}, 90^{\circ}\right]$, and then turns an angle of $\theta$ clockwise (negative ...
45
Let $\alpha_{k}$ be a random variable that represents the turn made after step $k$, choosing $\alpha_{k}$ uniformly at random on the complex plane among the arc of the unit circle containing 1 from $-i$ to $i$. It is well known that $\mathbb{E}\left[\alpha_{k}\right]=\frac{2}{\pi}$. We have that $$a_{n}=\sum_{i=1}^{n} ...
7.25
[ 7, 7, 7, 8, 8, 7, 7, 7 ]
Let $A$ denote the set of all integers $n$ such that $1 \leq n \leq 10000$, and moreover the sum of the decimal digits of $n$ is 2. Find the sum of the squares of the elements of $A$.
7294927
From the given conditions, we want to calculate $$\sum_{i=0}^{3} \sum_{j=i}^{3}\left(10^{i}+10^{j}\right)^{2}$$ By observing the formula, we notice that each term is an exponent of $10.10^{6}$ shows up 7 times, $10^{5}$ shows up 2 times, $10^{4}$ shows up 9 times, $10^{3}$ shows up 4 times, $10^{2}$ shows up 9 times, 1...
4.25
[ 4, 5, 4, 4, 4, 5, 4, 4 ]
Herbert rolls 6 fair standard dice and computes the product of all of his rolls. If the probability that the product is prime can be expressed as $\frac{a}{b}$ for relatively prime positive integers $a$ and $b$, compute $100 a+b$.
2692
The only way this can happen is if 5 of the dice roll 1 and the last die rolls a prime number (2, 3, or 5). There are 6 ways to choose the die that rolls the prime, and 3 ways to choose the prime. Thus, the probability is $\frac{3 \cdot 6}{6^{6}}=\frac{1}{2592}$.
4
[ 4, 4, 4, 4, 4, 4, 5, 3 ]
Find the value of $\frac{1}{3^{2}+1}+\frac{1}{4^{2}+2}+\frac{1}{5^{2}+3}+\cdots$.
13/36
Each term takes the form $$\frac{1}{n^{2}+(n-2)}=\frac{1}{(n+2) \cdot(n-1)}$$ Using the method of partial fractions, we can write (for some constants $A, B$ ) $$\begin{gathered} \frac{1}{(n+2) \cdot(n-1)}=\frac{A}{(n+2)}+\frac{B}{(n-1)} \\ \Rightarrow 1=A \cdot(n-1)+B \cdot(n+2) \end{gathered}$$ Setting $n=1$ we get $B...
4.625
[ 5, 6, 4, 4, 4, 4, 5, 5 ]
Stacy has $d$ dollars. She enters a mall with 10 shops and a lottery stall. First she goes to the lottery and her money is doubled, then she goes into the first shop and spends 1024 dollars. After that she alternates playing the lottery and getting her money doubled (Stacy always wins) then going into a new shop and sp...
1023
Work backwards. Before going into the last shop she had $\$ 1024$, before the lottery she had $\$ 512$, then $\$ 1536, \$ 768, \ldots$. We can easily prove by induction that if she ran out of money after $n$ shops, $0 \leq n \leq 10$, she must have started with $1024-2^{10-n}$ dollars. Therefore $d$ is $\mathbf{1023}$.
4.125
[ 4, 4, 5, 4, 4, 4, 4, 4 ]
Let $a, b, c$ be the three roots of $p(x)=x^{3}+x^{2}-333 x-1001$. Find $a^{3}+b^{3}+c^{3}$.
2003
We know that $x^{3}+x^{2}-333 x-1001=(x-a)(x-b)(x-c)=x^{3}-(a+b+c) x^{2}+(a b+b c+c a) x-a b c$. Also, $(a+b+c)^{3}-3(a+b+c)(a b+b c+c a)+3 a b c=a^{3}+b^{3}+c^{3}$. Thus, $a^{3}+b^{3}+c^{3}=(-1)^{3}-3(-1)(-333)+3 \cdot 1001=2003$.
5.375
[ 5, 5, 6, 5, 5, 5, 6, 6 ]
Find the set of solutions for $x$ in the inequality $\frac{x+1}{x+2} > \frac{3x+4}{2x+9}$ when $x \neq -2, x \neq \frac{9}{2}$.
\frac{-9}{2} \leq x \leq -2 \cup \frac{1-\sqrt{5}}{2} < x < \frac{1+\sqrt{5}}{2}
There are 3 possible cases of $x$: 1) $-\frac{9}{2} < x$, 2) $\frac{9}{2} \leq x \leq -2$, 3) $-2 < x$. For the cases (1) and (3), $x+2$ and $2x+9$ are both positive or negative, so the following operation can be carried out without changing the inequality sign: $$\begin{aligned} \frac{x+1}{x+2} & > \frac{3x+4}{2x+9} \...
5.75
[ 6, 5, 6, 6, 6, 5, 6, 6 ]
Let $N=30^{2015}$. Find the number of ordered 4-tuples of integers $(A, B, C, D) \in\{1,2, \ldots, N\}^{4}$ (not necessarily distinct) such that for every integer $n, A n^{3}+B n^{2}+2 C n+D$ is divisible by $N$.
24
Note that $n^{0}=\binom{n}{0}, n^{1}=\binom{n}{1}, n^{2}=2\binom{n}{2}+\binom{n}{1}, n^{3}=6\binom{n}{3}+6\binom{n}{2}+\binom{n}{1}$. Thus the polynomial rewrites as $6 A\binom{n}{3}+(6 A+2 B)\binom{n}{2}+(A+B+2 C)\binom{n}{1}+D\binom{n}{0}$ which by the classification of integer-valued polynomials is divisible by $N$ ...
7.25
[ 7, 7, 7, 7, 8, 7, 7, 8 ]
Paul fills in a $7 \times 7$ grid with the numbers 1 through 49 in a random arrangement. He then erases his work and does the same thing again (to obtain two different random arrangements of the numbers in the grid). What is the expected number of pairs of numbers that occur in either the same row as each other or the ...
147 / 2
Each of the $\binom{49}{2}$ pairs of numbers has a probability of $\frac{14 \cdot\binom{7}{2}}{\binom{49}{2}}=1 / 4$ of being in the same row or column in one of the arrangements, so the expected number that are in the same row or column in both arrangements is $$\binom{49}{2} \cdot(1 / 4)^{2}=\frac{147}{2}$$
6.125
[ 6, 6, 6, 6, 7, 6, 6, 6 ]
Determine the smallest positive integer $n \geq 3$ for which $$A \equiv 2^{10 n}\left(\bmod 2^{170}\right)$$ where $A$ denotes the result when the numbers $2^{10}, 2^{20}, \ldots, 2^{10 n}$ are written in decimal notation and concatenated (for example, if $n=2$ we have $A=10241048576$).
14
Note that $$2^{10 n}=1024^{n}=1.024^{n} \times 10^{3 n}$$ So $2^{10 n}$ has roughly $3 n+1$ digits for relatively small $n$'s. (Actually we have that for $0<x<1$, $$(1+x)^{2}=1+2 x+x^{2}<1+3 x$$ Therefore, $1.024^{2}<1.03^{2}<1.09,1.09^{2}<1.27,1.27^{2}<1.81<2$, and $2^{2}=4$, so $1.024^{16}<4$. Thus the conclusion hol...
7
[ 7, 7, 7, 7, 7, 7, 7, 7 ]
Call a positive integer $N \geq 2$ "special" if for every $k$ such that $2 \leq k \leq N, N$ can be expressed as a sum of $k$ positive integers that are relatively prime to $N$ (although not necessarily relatively prime to each other). How many special integers are there less than $100$?
50
We claim that all odd numbers are special, and the only special even number is 2. For any even $N>2$, the numbers relatively prime to $N$ must be odd. When we consider $k=3$, we see that $N$ can't be expressed as a sum of 3 odd numbers. Now suppose that $N$ is odd, and we look at the binary decomposition of $N$, so wri...
6.5
[ 6, 6, 7, 7, 6, 7, 7, 6 ]
A root of unity is a complex number that is a solution to $z^{n}=1$ for some positive integer $n$. Determine the number of roots of unity that are also roots of $z^{2}+a z+b=0$ for some integers $a$ and $b$.
8
The only real roots of unity are 1 and -1. If $\zeta$ is a complex root of unity that is also a root of the equation $z^{2}+a z+b$, then its conjugate $\bar{\zeta}$ must also be a root. In this case, $|a|=|\zeta+\bar{\zeta}| \leq|\zeta|+|\bar{\zeta}|=2$ and $b=\zeta \bar{\zeta}=1$. So we only need to check the quadrati...
5.875
[ 6, 6, 6, 6, 6, 6, 5, 6 ]
Find all positive integers $n$ such that the unit segments of an $n \times n$ grid of unit squares can be partitioned into groups of three such that the segments of each group share a common vertex.
n \equiv 0,2(\bmod 6)
Answer: $n \equiv 0,2(\bmod 6)$ We first prove that $n \equiv 0,2(\bmod 6)$ is necessary for there to be such a partitioning. We break this down into proving that $n$ has to be even and that $n \equiv 0,2(\bmod 3)$. The only way a segment on a side of the square can be part of such a T-shape is as one of the two consec...
6.875
[ 7, 7, 7, 7, 7, 8, 6, 6 ]
The area of the largest regular hexagon that can fit inside of a rectangle with side lengths 20 and 22 can be expressed as $a \sqrt{b}-c$, for positive integers $a, b$, and $c$, where $b$ is squarefree. Compute $100 a+10 b+c$.
134610
Let $s$ be the sidelength of the hexagon. We can view this problem as finding the maximal rectangle of with sides $s$ and $s \sqrt{3}$ that can fit inside this rectangle. Let $A B C D$ be a rectangle with $A B=20$ and $B C=22$ and let $X Y Z W$ be an inscribed rectangle with $X$ on $A B$ and $Y$ on $B C$ with $X Y=s$ a...
6.375
[ 6, 6, 6, 7, 7, 6, 6, 7 ]
What is the earliest row in which the number 2004 may appear?
12
By the previous problem, it cannot appear before row 12. By starting off the table as shown above, we see that row 12 is possible, so this is the answer.
1.875
[ 1, 2, 2, 2, 2, 2, 2, 2 ]
How many polynomials of degree exactly 5 with real coefficients send the set \{1,2,3,4,5,6\} to a permutation of itself?
714
For every permutation $\sigma$ of \{1,2,3,4,5,6\}, Lagrange Interpolation gives a polynomial of degree at most 5 with $p(x)=\sigma(x)$ for every $x=1,2,3,4,5,6$. Additionally, this polynomial is unique: assume that there exist two polynomials $p, q$ of degree \leq 5 such that they map \{1,2,3,4,5,6\} to the same permut...
7
[ 7, 7, 7, 7, 7, 7, 7, 7 ]
Suppose $a_{1}, a_{2}, \ldots, a_{100}$ are positive real numbers such that $$a_{k}=\frac{k a_{k-1}}{a_{k-1}-(k-1)}$$ for $k=2,3, \ldots, 100$. Given that $a_{20}=a_{23}$, compute $a_{100}$.
215
If we cross multiply, we obtain $a_{n} a_{n-1}=n a_{n-1}+(n-1) a_{n}$, which we can rearrange and factor as $\left(a_{n}-n\right)\left(a_{n-1}-(n-1)\right)=n(n-1)$. Let $b_{n}=a_{n}-n$. Then, $b_{n} b_{n-1}=n(n-1)$. If we let $b_{1}=t$, then we have by induction that $b_{n}=n t$ if $n$ is odd and $b_{n}=n / t$ if $n$ i...
7
[ 7, 7, 7, 7, 7, 7, 7, 7 ]
Find an ordered pair $(a, b)$ of real numbers for which $x^{2}+a x+b$ has a non-real root whose cube is 343.
(7, 49)
The cube roots of 343 are the roots of $x^{3}-343$, which is $(x-7)\left(x^{2}+7 x+49\right)$. Therefore the ordered pair we want is $(\mathbf{7, 49})$.
3.125
[ 3, 3, 4, 3, 3, 3, 3, 3 ]
There exists a polynomial $P$ of degree 5 with the following property: if $z$ is a complex number such that $z^{5}+2004 z=1$, then $P(z^{2})=0$. Calculate the quotient $P(1) / P(-1)$.
-2010012 / 2010013
Let $z_{1}, \ldots, z_{5}$ be the roots of $Q(z)=z^{5}+2004 z-1$. We can check these are distinct (by using the fact that there's one in a small neighborhood of each root of $z^{5}+2004 z$, or by noting that $Q(z)$ is relatively prime to its derivative). And certainly none of the roots of $Q$ is the negative of another...
6.625
[ 6, 7, 6, 6, 7, 7, 7, 7 ]
Let $A B C D$ be an isosceles trapezoid such that $A B=17, B C=D A=25$, and $C D=31$. Points $P$ and $Q$ are selected on sides $A D$ and $B C$, respectively, such that $A P=C Q$ and $P Q=25$. Suppose that the circle with diameter $P Q$ intersects the sides $A B$ and $C D$ at four points which are vertices of a convex q...
168
Let the midpoint of $P Q$ be $M$; note that $M$ lies on the midline of $A B C D$. Let $B^{\prime} C^{\prime}$ be a translate of $B C$ (parallel to $A B$ and $C D$) so that $M$ is the midpoint of $B^{\prime}$ and $C^{\prime}$. Since $M B^{\prime}=M C^{\prime}=25 / 2=M P=M Q, B^{\prime}$ and $C^{\prime}$ are one of the f...
6.375
[ 7, 7, 6, 6, 6, 7, 6, 6 ]
Find the sum of the $x$-coordinates of the distinct points of intersection of the plane curves given by $x^{2}=x+y+4$ and $y^{2}=y-15 x+36$.
0
Substituting $y=x^{2}-x-4$ into the second equation yields $$\begin{aligned} 0 & =\left(x^{2}-x-4\right)^{2}-\left(x^{2}-x-4\right)+15 x-36 \\ & =x^{4}-2 x^{3}-7 x^{2}+8 x+16-x^{2}+x+4+15 x-36 \\ & =x^{4}-2 x^{3}-8 x^{2}+24 x-16 \\ & =(x-2)\left(x^{3}-8 x+8\right)=(x-2)^{2}\left(x^{2}+2 x-4\right) \end{aligned}$$ This ...
5.375
[ 5, 5, 5, 5, 6, 6, 6, 5 ]
Suppose that $x$ and $y$ are complex numbers such that $x+y=1$ and that $x^{20}+y^{20}=20$. Find the sum of all possible values of $x^{2}+y^{2}$.
-90
We have $x^{2}+y^{2}+2 x y=1$. Define $a=2 x y$ and $b=x^{2}+y^{2}$ for convenience. Then $a+b=1$ and $b-a=x^{2}+y^{2}-2 x y=(x-y)^{2}=2 b-1$ so that $x, y=\frac{\sqrt{2 b-1} \pm 1}{2}$. Then $x^{20}+y^{20}=\left(\frac{\sqrt{2 b-1}+1}{2}\right)^{20}+\left(\frac{\sqrt{2 b-1}-1}{2}\right)^{20}=\frac{1}{2^{20}}\left[(\sqr...
6.75
[ 6, 7, 7, 7, 7, 7, 6, 7 ]
Jack, Jill, and John play a game in which each randomly picks and then replaces a card from a standard 52 card deck, until a spades card is drawn. What is the probability that Jill draws the spade? (Jack, Jill, and John draw in that order, and the game repeats if no spade is drawn.)
\frac{12}{37}
The desired probability is the relative probability that Jill draws the spade. In the first round, Jack, Jill, and John draw a spade with probability $1 / 4,3 / 4 \cdot 1 / 4$, and $(3 / 4)^{2} \cdot 1 / 4$ respectively. Thus, the probability that Jill draws the spade is $$\frac{3 / 4 \cdot 1 / 4}{1 / 4+3 / 4 \cdot 1 /...
4
[ 4, 4, 4, 4, 4, 4, 4, 4 ]
Let $f(x)=c x(x-1)$, where $c$ is a positive real number. We use $f^{n}(x)$ to denote the polynomial obtained by composing $f$ with itself $n$ times. For every positive integer $n$, all the roots of $f^{n}(x)$ are real. What is the smallest possible value of $c$?
2
We first prove that all roots of $f^{n}(x)$ are greater than or equal to $-\frac{c}{4}$ and less than or equal to $1+\frac{c}{4}$. Suppose that $r$ is a root of $f^{n}(x)$. If $r=-\frac{c}{4}, f^{-1}(r)=\left\{\frac{1}{2}\right\}$ and $-\frac{c}{4}<\frac{1}{2}<1+\frac{c}{4}$ since $c$ is positive. Suppose $r \neq-\frac...
6.75
[ 7, 7, 6, 7, 7, 7, 7, 6 ]
Find the value of $$\sum_{1 \leq a<b<c} \frac{1}{2^{a} 3^{b} 5^{c}}$$ (i.e. the sum of $\frac{1}{2^{a} 3^{b} 5^{c}}$ over all triples of positive integers $(a, b, c)$ satisfying $a<b<c$).
\frac{1}{1624}
Let $x=b-a$ and $y=c-b$ so that $b=a+x$ and $c=a+x+y$. Then $$2^{a} 3^{b} 5^{c}=2^{a} 3^{a+x} 5^{a+x+y}=30^{a} 15^{x} 5^{y}$$ and $a, x, y$ are any positive integers. Thus $$\begin{aligned} \sum_{1 \leq a \leq b<c} \frac{1}{2^{a} 3^{b} 5^{c}} & =\sum_{1 \leq a, x, y} \frac{1}{30^{a} 15^{x} 5^{y}} \\ & =\sum_{1 \leq a} ...
6.375
[ 7, 6, 6, 7, 6, 6, 6, 7 ]
Let $S_{0}=0$ and let $S_{k}$ equal $a_{1}+2 a_{2}+\ldots+k a_{k}$ for $k \geq 1$. Define $a_{i}$ to be 1 if $S_{i-1}<i$ and -1 if $S_{i-1} \geq i$. What is the largest $k \leq 2010$ such that $S_{k}=0$?
1092
Suppose that $S_{N}=0$ for some $N \geq 0$. Then $a_{N+1}=1$ because $N+1 \geq S_{N}$. The following table lists the values of $a_{k}$ and $S_{k}$ for a few $k \geq N$: $k$ & $a_{k}$ & $S_{k}$ \hline$N$ & & 0 \$N+1$ & 1 & $N+1$ \$N+2$ & 1 & $2 N+3$ \$N+3$ & -1 & $N$ \$N+4$ & 1 & $2 N+4$ \$N+5$ & -1 & $N-1$ \$N+6$ & 1 &...
6.875
[ 7, 7, 7, 7, 7, 7, 6, 7 ]
Let $A B C$ be an acute scalene triangle with circumcenter $O$ and centroid $G$. Given that $A G O$ is a right triangle, $A O=9$, and $B C=15$, let $S$ be the sum of all possible values for the area of triangle $A G O$. Compute $S^{2}$.
288
Note that we know that $O, H$, and $G$ are collinear and that $H G=2 O G$. Thus, let $O G=x$ and $H G=2 x$. We also have $\sin A=\frac{B C}{2 R}=\frac{5}{6}$, so $\cos A=\frac{\sqrt{11}}{6}$. Then, if $A G \perp O G$, then we have $x^{2}+A G^{2}=O G^{2}+A G^{2}=A O^{2}=81$ and $H G^{2}+A G^{2}=4 x^{2}+A G^{2}=A H^{2}=(...
7.375
[ 7, 7, 7, 8, 7, 7, 8, 8 ]
If $x, y, k$ are positive reals such that $$3=k^{2}\left(\frac{x^{2}}{y^{2}}+\frac{y^{2}}{x^{2}}\right)+k\left(\frac{x}{y}+\frac{y}{x}\right)$$ find the maximum possible value of $k$.
(-1+\sqrt{7})/2
We have $3=k^{2}(x^{2} / y^{2}+y^{2} / x^{2})+k(x / y+y / x) \geq 2 k^{2}+2 k$, hence $7 \geq 4 k^{2}+4 k+1=(2 k+1)^{2}$, hence $k \leq(\sqrt{7}-1) / 2$. Obviously $k$ can assume this value, if we let $x=y=1$.
6.375
[ 7, 6, 7, 5, 6, 6, 7, 7 ]
The rank of a rational number $q$ is the unique $k$ for which $q=\frac{1}{a_{1}}+\cdots+\frac{1}{a_{k}}$, where each $a_{i}$ is the smallest positive integer such that $q \geq \frac{1}{a_{1}}+\cdots+\frac{1}{a_{i}}$. Let $q$ be the largest rational number less than \frac{1}{4}$ with rank 3, and suppose the expression f...
(5,21,421)
Suppose that $A$ and $B$ were rational numbers of rank 3 less than $\frac{1}{4}$, and let $a_{1}, a_{2}, a_{3}, b_{1}, b_{2}, b_{3}$ be positive integers so that $A=\frac{1}{a_{1}}+\frac{1}{a_{2}}+\frac{1}{a_{3}}$ and $B=\frac{1}{b_{1}}+\frac{1}{b_{2}}+\frac{1}{b_{3}}$ are the expressions for $A$ and $B$ as stated in t...
6.375
[ 6, 7, 7, 6, 6, 6, 6, 7 ]
If $a, b, c$, and $d$ are pairwise distinct positive integers that satisfy \operatorname{lcm}(a, b, c, d)<1000$ and $a+b=c+d$, compute the largest possible value of $a+b$.
581
Let $a^{\prime}=\frac{\operatorname{lcm}(a, b, c, d)}{a}$. Define $b^{\prime}, c^{\prime}$, and $d^{\prime}$ similarly. We have that $a^{\prime}, b^{\prime}, c^{\prime}$, and $d^{\prime}$ are pairwise distinct positive integers that satisfy $$\frac{1}{a^{\prime}}+\frac{1}{b^{\prime}}=\frac{1}{c^{\prime}}+\frac{1}{d^{\p...
6.875
[ 7, 6, 7, 7, 6, 7, 8, 7 ]
For a point $P=(x, y)$ in the Cartesian plane, let $f(P)=\left(x^{2}-y^{2}, 2 x y-y^{2}\right)$. If $S$ is the set of all $P$ so that the sequence $P, f(P), f(f(P)), f(f(f(P))), \ldots$ approaches $(0,0)$, then the area of $S$ can be expressed as $\pi \sqrt{r}$ for some positive real number $r$. Compute $\lfloor 100 r\...
133
For a point $P=(x, y)$, let $z(P)=x+y \omega$, where $\omega$ is a nontrivial third root of unity. Then $$\begin{aligned} z(f(P))=\left(x^{2}-y^{2}\right)+\left(2 x y-y^{2}\right) \omega=x^{2}+2 x y \omega+y^{2} & (-1-\omega) \\ & =x^{2}+2 x y \omega+y^{2} \omega^{2}=(x+y \omega)^{2}=z(P)^{2} \end{aligned}$$ Applying t...
8.25
[ 8, 8, 8, 8, 8, 8, 9, 9 ]
Let $x$ and $y$ be positive real numbers and $\theta$ an angle such that $\theta \neq \frac{\pi}{2} n$ for any integer $n$. Suppose $$\frac{\sin \theta}{x}=\frac{\cos \theta}{y}$$ and $$\frac{\cos ^{4} \theta}{x^{4}}+\frac{\sin ^{4} \theta}{y^{4}}=\frac{97 \sin 2 \theta}{x^{3} y+y^{3} x}$$ Compute $\frac{x}{y}+\frac{y}...
4
From the first relation, there exists a real number $k$ such that $x=k \sin \theta$ and $y=k \cos \theta$. Then we have $$\frac{\cos ^{4} \theta}{\sin ^{4} \theta}+\frac{\sin ^{4} \theta}{\cos ^{4} \theta}=\frac{194 \sin \theta \cos \theta}{\sin \theta \cos \theta(\cos ^{2} \theta+\sin ^{2} \theta)}=194$$ Notice that i...
6.5
[ 6, 7, 7, 6, 7, 6, 6, 7 ]
Let $a, b$ and $c$ be positive real numbers such that $$\begin{aligned} a^{2}+a b+b^{2} & =9 \\ b^{2}+b c+c^{2} & =52 \\ c^{2}+c a+a^{2} & =49 \end{aligned}$$ Compute the value of $\frac{49 b^{2}-33 b c+9 c^{2}}{a^{2}}$.
52
Consider a triangle $A B C$ with Fermat point $P$ such that $A P=a, B P=b, C P=c$. Then $$A B^{2}=A P^{2}+B P^{2}-2 A P \cdot B P \cos \left(120^{\circ}\right)$$ by the Law of Cosines, which becomes $$A B^{2}=a^{2}+a b+b^{2}$$ and hence $A B=3$. Similarly, $B C=\sqrt{52}$ and $A C=7$. Furthermore, we have $$\begin{alig...
6.75
[ 6, 7, 7, 7, 7, 7, 6, 7 ]
A cafe has 3 tables and 5 individual counter seats. People enter in groups of size between 1 and 4, inclusive, and groups never share a table. A group of more than 1 will always try to sit at a table, but will sit in counter seats if no tables are available. Conversely, a group of 1 will always try to sit at the counte...
16
We first show that $M+N \geq 16$. Consider the point right before the last table is occupied. We have two cases: first suppose there exists at least one open counter seat. Then, every table must contribute at least 3 to the value of $M+N$, because no groups of 1 will have taken a table with one of the counter seats ope...
5.25
[ 5, 5, 5, 5, 4, 6, 7, 5 ]
Determine the value of the sum $$\frac{3}{1^{2} \cdot 2^{2}}+\frac{5}{2^{2} \cdot 3^{2}}+\frac{7}{3^{2} \cdot 4^{2}}+\cdots+\frac{29}{14^{2} \cdot 15^{2}}$$
\frac{224}{225}
The sum telescopes as $$\left(\frac{1}{1^{2}}-\frac{1}{2^{2}}\right)+\left(\frac{1}{2^{2}}-\frac{1}{3^{2}}\right)+\cdots+\left(\frac{1}{14^{2}}-\frac{1}{15^{2}}\right)=\frac{1}{1^{2}}-\frac{1}{15^{2}}=\frac{224}{225}$$
4.75
[ 6, 4, 4, 4, 5, 4, 6, 5 ]
Suppose $P(x)$ is a polynomial such that $P(1)=1$ and $$\frac{P(2 x)}{P(x+1)}=8-\frac{56}{x+7}$$ for all real $x$ for which both sides are defined. Find $P(-1)$.
-5/21
Cross-multiplying gives $(x+7) P(2 x)=8 x P(x+1)$. If $P$ has degree $n$ and leading coefficient $c$, then the leading coefficients of the two sides are $2^{n} c$ and $8 c$, so $n=3$. Now $x=0$ is a root of the right-hand side, so it's a root of the left-hand side, so that $P(x)=x Q(x)$ for some polynomial $Q \Rightarr...
6.625
[ 7, 6, 7, 6, 7, 7, 6, 7 ]
A convex quadrilateral is determined by the points of intersection of the curves \( x^{4}+y^{4}=100 \) and \( x y=4 \); determine its area.
4\sqrt{17}
By symmetry, the quadrilateral is a rectangle having \( x=y \) and \( x=-y \) as axes of symmetry. Let \( (a, b) \) with \( a>b>0 \) be one of the vertices. Then the desired area is \( (\sqrt{2}(a-b)) \cdot(\sqrt{2}(a+b))=2\left(a^{2}-b^{2}\right)=2 \sqrt{a^{4}-2 a^{2} b^{2}+b^{4}}=2 \sqrt{100-2 \cdot 4^{2}}=4 \sqrt{17...
6.25
[ 7, 6, 6, 6, 6, 6, 7, 6 ]
The complex numbers \( \alpha_{1}, \alpha_{2}, \alpha_{3}, \) and \( \alpha_{4} \) are the four distinct roots of the equation \( x^{4}+2 x^{3}+2=0 \). Determine the unordered set \( \left\{\alpha_{1} \alpha_{2}+\alpha_{3} \alpha_{4}, \alpha_{1} \alpha_{3}+\alpha_{2} \alpha_{4}, \alpha_{1} \alpha_{4}+\alpha_{2} \alpha_...
\{1 \pm \sqrt{5},-2\}
Employing the elementary symmetric polynomials \( \left(s_{1}=\alpha_{1}+\alpha_{2}+\alpha_{3}+\alpha_{4}=\right. -2, s_{2}=\alpha_{1} \alpha_{2}+\alpha_{1} \alpha_{3}+\alpha_{1} \alpha_{4}+\alpha_{2} \alpha_{3}+\alpha_{2} \alpha_{4}+\alpha_{3} \alpha_{4}=0, s_{3}=\alpha_{1} \alpha_{2} \alpha_{3}+\alpha_{2} \alpha_{3} ...
7.125
[ 8, 7, 7, 8, 7, 7, 6, 7 ]
Find the sum of the absolute values of the roots of $x^{4}-4 x^{3}-4 x^{2}+16 x-8=0$.
2+2\sqrt{2}+2\sqrt{3}
$$\begin{aligned} x^{4}-4 x^{3}-4 x^{2}+16 x-8 & =\left(x^{4}-4 x^{3}+4 x^{2}\right)-\left(8 x^{2}-16 x+8\right) \\ & =x^{2}(x-2)^{2}-8(x-1)^{2} \\ & =\left(x^{2}-2 x\right)^{2}-(2 \sqrt{2} x-2 \sqrt{2})^{2} \\ & =\left(x^{2}-(2+2 \sqrt{2}) x+2 \sqrt{2}\right)\left(x^{2}-(2-2 \sqrt{2}) x-2 \sqrt{2}\right) \end{aligned}...
6.5
[ 7, 7, 6, 6, 6, 7, 7, 6 ]
Ten positive integers are arranged around a circle. Each number is one more than the greatest common divisor of its two neighbors. What is the sum of the ten numbers?
28
First note that all the integers must be at least 2, because the greatest common divisor of any two positive integers is at least 1. Let $n$ be the largest integer in the circle. The greatest common divisor of its two neighbors is $n-1$. Therefore, each of the two neighbors is at least $n-1$ but at most $n$, so since $...
5.375
[ 5, 5, 5, 6, 6, 5, 6, 5 ]
Let $p(x)$ and $q(x)$ be two cubic polynomials such that $p(0)=-24, q(0)=30$, and $p(q(x))=q(p(x))$ for all real numbers $x$. Find the ordered pair $(p(3), q(6))$.
(3,-24)
Note that the polynomials $f(x)=a x^{3}$ and $g(x)=-a x^{3}$ commute under composition. Let $h(x)=x+b$ be a linear polynomial, and note that its inverse $h^{-1}(x)=x-b$ is also a linear polynomial. The composite polynomials $h^{-1} f h$ and $h^{-1} g h$ commute, since function composition is associative, and these poly...
7
[ 7, 7, 7, 7, 7, 6, 7, 8 ]
Find the number of ordered pairs of integers $(a, b) \in\{1,2, \ldots, 35\}^{2}$ (not necessarily distinct) such that $a x+b$ is a "quadratic residue modulo $x^{2}+1$ and 35 ", i.e. there exists a polynomial $f(x)$ with integer coefficients such that either of the following equivalent conditions holds: - there exist po...
225
By the Chinese remainder theorem, we want the product of the answers modulo 5 and modulo 7 (i.e. when 35 is replaced by 5 and 7, respectively). First we do the modulo 7 case. Since $x^{2}+1$ is irreducible modulo 7 (or more conceptually, in $\mathbb{F}_{7}[x]$ ), exactly half of the nonzero residues modulo $x^{2}+1$ an...
7.875
[ 8, 8, 8, 7, 8, 8, 8, 8 ]
Determine the remainder when $$\sum_{i=0}^{2015}\left\lfloor\frac{2^{i}}{25}\right\rfloor$$ is divided by 100, where $\lfloor x\rfloor$ denotes the largest integer not greater than $x$.
14
Let $r_{i}$ denote the remainder when $2^{i}$ is divided by 25. Note that because $2^{\phi(25)} \equiv 2^{20} \equiv 1(\bmod 25)$, $r$ is periodic with length 20. In addition, we find that 20 is the order of $2 \bmod 25$. Since $2^{i}$ is never a multiple of 5, all possible integers from 1 to 24 are represented by $r_{...
7
[ 7, 7, 7, 7, 7, 7, 7, 7 ]
A jar contains 8 red balls and 2 blue balls. Every minute, a ball is randomly removed. The probability that there exists a time during this process where there are more blue balls than red balls in the jar can be expressed as $\frac{a}{b}$ for relatively prime integers $a$ and $b$. Compute $100 a+b$.
209
One can show that the condition in the problem is satisfied if and only the last ball drawn is blue (which happens with probability $\frac{1}{5}$), or the blue balls are drawn second-to-last and third-to-last (which happens with probability $\frac{1}{\binom{10}{2}}=\frac{1}{45}$). Thus the total probability is $\frac{1...
4.375
[ 4, 4, 4, 4, 4, 5, 4, 6 ]
Let $x$ be a positive real number. Find the maximum possible value of $$\frac{x^{2}+2-\sqrt{x^{4}+4}}{x}$$
2 \sqrt{2}-2
Rationalizing the numerator, we get $$\begin{aligned} \frac{x^{2}+2-\sqrt{x^{4}+4}}{x} \cdot \frac{x^{2}+2+\sqrt{x^{4}+4}}{x^{2}+2+\sqrt{x^{4}+4}} & =\frac{\left(x^{2}+2\right)^{2}-\left(x^{4}+4\right)}{x\left(x^{2}+2+\sqrt{x^{4}+4}\right)} \\ & =\frac{4 x^{2}}{x\left(x^{2}+2+\sqrt{x^{4}+4}\right)} \\ & =\frac{4}{\frac...
5.75
[ 6, 6, 5, 6, 5, 6, 6, 6 ]
Find all possible values of $\frac{d}{a}$ where $a^{2}-6 a d+8 d^{2}=0, a \neq 0$.
\frac{1}{2}, \frac{1}{4}
Dividing $a^{2}-6 a d+8 d^{2}=0$ by $a^{2}$, we get $1-6 \frac{d}{a}+8\left(\frac{d}{a}\right)^{2}=0$. The roots of this quadratic are $\frac{1}{2}, \frac{1}{4}$.
3.625
[ 4, 4, 3, 4, 4, 3, 3, 4 ]
Let $\pi$ be a uniformly random permutation of the set $\{1,2, \ldots, 100\}$. The probability that $\pi^{20}(20)=$ 20 and $\pi^{21}(21)=21$ can be expressed as $\frac{a}{b}$, where $a$ and $b$ are relatively prime positive integers. Compute $100 a+b$. (Here, $\pi^{k}$ means $\pi$ iterated $k$ times.)
1025
We look at the cycles formed by $\pi$ Let $\operatorname{ord}_{\pi}(n)$ denote the smallest $m$ such that $\pi^{m}(n)=n$. In particular, the condition implies that $\operatorname{ord}_{\pi}(20) \mid 20$ and $\operatorname{ord}_{\pi}(21) \mid 21$. Claim 1. 20 and 21 cannot be in the same cycle. Proof. If 20 and 21 were ...
6.125
[ 6, 6, 6, 6, 6, 7, 6, 6 ]
The Fibonacci sequence is defined as follows: $F_{0}=0, F_{1}=1$, and $F_{n}=F_{n-1}+F_{n-2}$ for all integers $n \geq 2$. Find the smallest positive integer $m$ such that $F_{m} \equiv 0(\bmod 127)$ and $F_{m+1} \equiv 1(\bmod 127)$.
256
First, note that 5 is not a quadratic residue modulo 127. We are looking for the period of the Fibonacci numbers $\bmod 127$. Let $p=127$. We work in $\mathbb{F}_{p^{2}}$ for the remainder of this proof. Let $\alpha$ and $\beta$ be the roots of $x^{2}-x-1$. Then we know that $F_{n}=\frac{\alpha^{n}-\beta^{n}}{\alpha-\b...
6.875
[ 7, 7, 8, 6, 7, 7, 6, 7 ]
Suppose that a polynomial of the form $p(x)=x^{2010} \pm x^{2009} \pm \cdots \pm x \pm 1$ has no real roots. What is the maximum possible number of coefficients of -1 in $p$?
1005
Let $p(x)$ be a polynomial with the maximum number of minus signs. $p(x)$ cannot have more than 1005 minus signs, otherwise $p(1)<0$ and $p(2) \geq 2^{2010}-2^{2009}-\ldots-2-1=$ 1, which implies, by the Intermediate Value Theorem, that $p$ must have a root greater than 1. Let $p(x)=\frac{x^{2011}+1}{x+1}=x^{2010}-x^{2...
6.625
[ 7, 6, 7, 7, 7, 7, 6, 6 ]
Let $ABC$ be a triangle with circumcenter $O$ such that $AC=7$. Suppose that the circumcircle of $AOC$ is tangent to $BC$ at $C$ and intersects the line $AB$ at $A$ and $F$. Let $FO$ intersect $BC$ at $E$. Compute $BE$.
\frac{7}{2}
$E B=\frac{7}{2} \quad O$ is the circumcenter of $\triangle ABC \Longrightarrow AO=CO \Longrightarrow \angle OCA=\angle OAC$. Because $AC$ is an inscribed arc of circumcircle $\triangle AOC, \angle OCA=\angle OFA$. Furthermore $BC$ is tangent to circumcircle $\triangle AOC$, so $\angle OAC=\angle OCB$. However, again u...
6.75
[ 7, 7, 7, 7, 7, 6, 7, 6 ]
Consider all ordered pairs of integers $(a, b)$ such that $1 \leq a \leq b \leq 100$ and $$\frac{(a+b)(a+b+1)}{a b}$$ is an integer. Among these pairs, find the one with largest value of $b$. If multiple pairs have this maximal value of $b$, choose the one with largest $a$. For example choose $(3,85)$ over $(2,85)$ ove...
(35,90)
Firstly note that $\frac{(a+b)(a+b+1)}{a b}=2+\frac{a^{2}+b^{2}+a+b}{a b}$. Let $c$ be this fraction so that $(a+b)(a+b+1)=a b(c+2)$ for some integers $a, b, c$. Suppose $(a, b)$ with $a \geq b$ is a solution for some $c$. Consider the quadratic $$x^{2}-(b c-1) x+b^{2}+b=0$$ It has one root $a$, and the other root is t...
6.5
[ 6, 7, 6, 7, 7, 6, 7, 6 ]
There exists a positive real number $x$ such that $\cos (\tan^{-1}(x))=x$. Find the value of $x^{2}$.
(-1+\sqrt{5})/2
Draw a right triangle with legs $1, x$; then the angle $\theta$ opposite $x$ is $\tan^{-1} x$, and we can compute $\cos (\theta)=1 / \sqrt{x^{2}+1}$. Thus, we only need to solve $x=1 / \sqrt{x^{2}+1}$. This is equivalent to $x \sqrt{x^{2}+1}=1$. Square both sides to get $x^{4}+x^{2}=1 \Rightarrow x^{4}+x^{2}-1=0$. Use ...
3.75
[ 4, 4, 3, 3, 4, 4, 4, 4 ]
Let $x$ be a real number such that $x^{3}+4 x=8$. Determine the value of $x^{7}+64 x^{2}$.
128
For any integer $n \geq 0$, the given implies $x^{n+3}=-4 x^{n+1}+8 x^{n}$, so we can rewrite any such power of $x$ in terms of lower powers. Carrying out this process iteratively gives $$\begin{aligned} x^{7} & =-4 x^{5}+8 x^{4} \\ & =8 x^{4}+16 x^{3}-32 x^{2} \\ & =16 x^{3}-64 x^{2}+64 x \\ & =-64 x^{2}+128 . \end{al...
5.875
[ 6, 6, 6, 6, 5, 6, 6, 6 ]
A subset $S$ of the nonnegative integers is called supported if it contains 0, and $k+8, k+9 \in S$ for all $k \in S$. How many supported sets are there?
1430
Note that every supported set $S$ contains $0,8,9,16,17,18,24-27,32-36,40-45$, 48-54, and all $n \geq 55$. Now define $\bar{S}:=\mathbb{Z}^{+} \backslash S$, which is a subset of $\{1-7,10-15,19-23,28-31,37,38,39,46,47,55\}$ satisfying the opposite property that $k \in \bar{S} \Longrightarrow k-8, k-9 \in \bar{S}$. Con...
6.5
[ 7, 7, 6, 7, 6, 7, 6, 6 ]
Let \(\Gamma_{1}\) and \(\Gamma_{2}\) be two circles externally tangent to each other at \(N\) that are both internally tangent to \(\Gamma\) at points \(U\) and \(V\), respectively. A common external tangent of \(\Gamma_{1}\) and \(\Gamma_{2}\) is tangent to \(\Gamma_{1}\) and \(\Gamma_{2}\) at \(P\) and \(Q\), respec...
\frac{\left(Rr_{1}+Rr_{2}-2r_{1}r_{2}\right)2\sqrt{r_{1}r_{2}}}{\left|r_{1}-r_{2}\right|\sqrt{\left(R-r_{1}\right)\left(R-r_{2}\right)}}
By Archimedes lemma, we have \(M, Q, V\) are collinear and \(M, P, U\) are collinear as well. Note that inversion at \(M\) with radius \(MX\) shows that \(PQUV\) is cyclic. Thus, we have \(MP \cdot MU=MQ \cdot MV\), so \(M\) lies on the radical axis of \((PUZ)\) and \((QVZ)\), thus \(T\) must lie on the line \(MZ\). Th...
8.125
[ 8, 8, 8, 8, 9, 8, 8, 8 ]
Find the largest real number $c$ such that $$\sum_{i=1}^{101} x_{i}^{2} \geq c M^{2}$$ whenever $x_{1}, \ldots, x_{101}$ are real numbers such that $x_{1}+\cdots+x_{101}=0$ and $M$ is the median of $x_{1}, \ldots, x_{101}$.
\frac{5151}{50}
Suppose without loss of generality that $x_{1} \leq \cdots \leq x_{101}$ and $M=x_{51} \geq 0$. Note that $f(t)=t^{2}$ is a convex function over the reals, so we may "smooth" to the case $x_{1}=\cdots=x_{50}=-51 r$ and $x_{51}=\cdots=x_{101}=50 r$ for some $r \geq 0$, and by homogeneity, $C$ works if and only if $C \le...
6.5
[ 7, 6, 6, 6, 6, 8, 6, 7 ]
In right triangle $A B C$, a point $D$ is on hypotenuse $A C$ such that $B D \perp A C$. Let $\omega$ be a circle with center $O$, passing through $C$ and $D$ and tangent to line $A B$ at a point other than $B$. Point $X$ is chosen on $B C$ such that $A X \perp B O$. If $A B=2$ and $B C=5$, then $B X$ can be expressed ...
8041
Note that since $A D \cdot A C=A B^{2}$, we have the tangency point of $\omega$ and $A B$ is $B^{\prime}$, the reflection of $B$ across $A$. Let $Y$ be the second intersection of $\omega$ and $B C$. Note that by power of point, we have $B Y \cdot B C=B B^{\prime 2}=4 A B^{2} \Longrightarrow B Y=\frac{4 A B^{2}}{B C}$. ...
7.25
[ 8, 8, 7, 7, 7, 7, 7, 7 ]
Determine the largest real number $c$ such that for any 2017 real numbers $x_{1}, x_{2}, \ldots, x_{2017}$, the inequality $$\sum_{i=1}^{2016} x_{i}\left(x_{i}+x_{i+1}\right) \geq c \cdot x_{2017}^{2}$$ holds.
-\frac{1008}{2017}
Let $n=2016$. Define a sequence of real numbers \left\{p_{k}\right\} by $p_{1}=0$, and for all $k \geq 1$, $$p_{k+1}=\frac{1}{4\left(1-p_{k}\right)}$$ Note that, for every $i \geq 1$, $$\left(1-p_{i}\right) \cdot x_{i}^{2}+x_{i} x_{i+1}+p_{i+1} x_{i+1}^{2}=\left(\frac{x_{i}}{2 \sqrt{p_{i+1}}}+\sqrt{p_{i+1}} x_{i+1}\rig...
7.125
[ 8, 6, 8, 7, 7, 6, 7, 8 ]
If $f(x)$ is a monic quartic polynomial such that $f(-1)=-1, f(2)=-4, f(-3)=-9$, and $f(4)=-16$, find $f(1)$.
23
The given data tells us that the roots of $f(x)+x^{2}$ are $-1,2,-3$, and 4. Combining with the fact that $f$ is monic and quartic we get $f(x)+x^{2}=(x+1)(x-2)(x+3)(x-4)$. Hence $f(1)=(2)(-1)(4)(-3)-1=\mathbf{23}$.
6.25
[ 6, 6, 7, 6, 6, 6, 6, 7 ]
Three real numbers \( x, y, \) and \( z \) are such that \( (x+4) / 2=(y+9) /(z-3)=(x+5) /(z-5) \). Determine the value of \( x / y \).
1/2
Because the first and third fractions are equal, adding their numerators and denominators produces another fraction equal to the others: \( ((x+4)+(x+5)) /(2+(z-5))=(2 x+9) /(z-3) \). Then \( y+9=2 x+9 \), etc.
3.625
[ 3, 4, 4, 3, 4, 3, 4, 4 ]