problem stringlengths 11 5.15k | answer stringlengths 1 42 | solution stringlengths 0 8.75k |
|---|---|---|
How many positive integers less than or equal to 240 can be expressed as a sum of distinct factorials? Consider 0 ! and 1 ! to be distinct. | 39 | Note that $1=0$ !, $2=0$ ! +1 !, $3=0$ ! +2 !, and $4=0!+1$ ! +2 !. These are the only numbers less than 6 that can be written as the sum of factorials. The only other factorials less than 240 are $3!=6,4!=24$, and $5!=120$. So a positive integer less than or equal to 240 can only contain 3 !, 4 !, 5 !, and/or one of $... |
Our next object up for bid is an arithmetic progression of primes. For example, the primes 3,5, and 7 form an arithmetic progression of length 3. What is the largest possible length of an arithmetic progression formed of positive primes less than 1,000,000? Be prepared to justify your answer. | 12 | 12. We can get 12 with 110437 and difference 13860. |
Compute the number of triples $(f, g, h)$ of permutations on $\{1,2,3,4,5\}$ such that $$ \begin{aligned} & f(g(h(x)))=h(g(f(x)))=g(x), \\ & g(h(f(x)))=f(h(g(x)))=h(x), \text { and } \\ & h(f(g(x)))=g(f(h(x)))=f(x) \end{aligned} $$ for all $x \in\{1,2,3,4,5\}$. | 146 | Let $f g$ represent the composition of permutations $f$ and $g$, where $(f g)(x)=f(g(x))$ for all $x \in\{1,2,3,4,5\}$. Evaluating fghfh in two ways, we get $$ f=g f h=(f g h) f h=f g h f h=f(g h f) h=f h h, $$ so $h h=1$. Similarly, we get $f, g$, and $h$ are all involutions. Then $$ f g h=g \Longrightarrow f g=g h $$... |
A class of 10 students took a math test. Each problem was solved by exactly 7 of the students. If the first nine students each solved 4 problems, how many problems did the tenth student solve? | 6 | Suppose the last student solved $n$ problems, and the total number of problems on the test was $p$. Then the total number of correct solutions written was $7 p$ (seven per problem), and also equal to $36+n$ (the sum of the students' scores), so $p=(36+n) / 7$. The smallest $n \geq 0$ for which this is an integer is $n=... |
Define the sequence $a_{1}, a_{2} \ldots$ as follows: $a_{1}=1$ and for every $n \geq 2$, $a_{n}= \begin{cases}n-2 & \text { if } a_{n-1}=0 \\ a_{n-1}-1 & \text { if } a_{n-1} \neq 0\end{cases}$. A non-negative integer $d$ is said to be jet-lagged if there are non-negative integers $r, s$ and a positive integer $n$ suc... | 51 | Let $N=n+r$, and $M=n$. Then $r=N-M$, and $s=a_{N}-a_{M}$, and $d=r+s=\left(a_{N}+N\right)-\left(a_{M}+M\right)$. So we are trying to find the number of possible values of $\left(a_{N}+N\right)-\left(a_{M}+M\right)$, subject to $N \geq M$ and $a_{N} \geq a_{M}$. Divide the $a_{i}$ into the following "blocks": - $a_{1}=... |
Kristoff is planning to transport a number of indivisible ice blocks with positive integer weights from the north mountain to Arendelle. He knows that when he reaches Arendelle, Princess Anna and Queen Elsa will name an ordered pair $(p, q)$ of nonnegative integers satisfying $p+q \leq 2016$. Kristoff must then give Pr... | 18 | The answer is 18. First, we will show that Kristoff must carry at least 18 ice blocks. Let $$0<x_{1} \leq x_{2} \leq \cdots \leq x_{n}$$ be the weights of ice blocks he carries which satisfy the condition that for any $p, q \in \mathbb{Z}_{\geq 0}$ such that $p+q \leq 2016$, there are disjoint subsets $I, J$ of $\{1, \... |
Let $f(n)$ be the largest prime factor of $n^{2}+1$. Compute the least positive integer $n$ such that $f(f(n))=n$. | 89 | Suppose $f(f(n))=n$, and let $m=f(n)$. Note that we have $mn \mid m^{2}+n^{2}+1$. First we find all pairs of positive integers that satisfy this condition, using Vieta root jumping. Suppose $m^{2}+n^{2}+1=kmn$, for some positive integer $k$. Considering this as a quadratic in $m$, let the other root (besides $m$) be $m... |
There are 100 people in a room with ages $1,2, \ldots, 100$. A pair of people is called cute if each of them is at least seven years older than half the age of the other person in the pair. At most how many pairwise disjoint cute pairs can be formed in this room? | 43 | For a cute pair $(a, b)$ we would have $$a \geq \frac{b}{2}+7, b \geq \frac{a}{2}+7$$ Solving the system, we get that $a$ and $b$ must both be at least 14. However 14 could only be paired with itself or a smaller number; therefore, only people with age 15 or above can be paired with someone of different age. Pairing co... |
Let triangle $ABC$ have incircle $\omega$, which touches $BC, CA$, and $AB$ at $D, E$, and $F$, respectively. Then, let $\omega_{1}$ and $\omega_{2}$ be circles tangent to $AD$ and internally tangent to $\omega$ at $E$ and $F$, respectively. Let $P$ be the intersection of line $EF$ and the line passing through the cent... | 3600 | Let the centers of $\omega_{1}$ and $\omega_{2}$ be $O_{1}$ and $O_{2}$. Let $DE$ intersect $\omega_{1}$ again at $Q$, and let $DF$ intersect $\omega_{2}$ again at $R$. Note that since $\omega_{1}$ and $\omega_{2}$ must be tangent to $AD$ at the same point (by equal tangents), so $AD$ must be the radical axis of $\omeg... |
Determine the value of $$2002+\frac{1}{2}\left(2001+\frac{1}{2}\left(2000+\cdots+\frac{1}{2}\left(3+\frac{1}{2} \cdot 2\right)\right) \cdots\right)$$ | 4002 | We can show by induction that $n+\frac{1}{2}\left([n-1]+\frac{1}{2}\left(\cdots+\frac{1}{2} \cdot 2\right) \cdots\right)=2(n-1)$. For $n=3$ we have $3+\frac{1}{2} \cdot 2=4$, giving the base case, and if the result holds for $n$, then $(n+1)+\frac{1}{2} 2(n-1)=2 n=2(n+1)-2$. Thus the claim holds, and now plug in $n=200... |
Let $$A=\frac{1}{6}\left(\left(\log _{2}(3)\right)^{3}-\left(\log _{2}(6)\right)^{3}-\left(\log _{2}(12)\right)^{3}+\left(\log _{2}(24)\right)^{3}\right)$$ Compute $2^{A}$. | 72 | Let $a=\log _{2}(3)$, so $2^{a}=3$ and $A=\frac{1}{6}\left[a^{3}-(a+1)^{3}-(a+2)^{3}+(a+3)^{3}\right]$. But $(x+1)^{3}-x^{3}=3 x^{2}+3 x+1$, so $A=\frac{1}{6}\left[3(a+2)^{2}+3(a+2)-3 a^{2}-3 a\right]=\frac{1}{2}[4 a+4+2]=2 a+3$. Thus $2^{A}=\left(2^{a}\right)^{2}\left(2^{3}\right)=9 \cdot 8=72$ |
Real numbers $a, b, c$ satisfy the equations $a+b+c=26,1 / a+1 / b+1 / c=28$. Find the value of $$\frac{a}{b}+\frac{b}{c}+\frac{c}{a}+\frac{a}{c}+\frac{c}{b}+\frac{b}{a}$$ | 725 | Multiplying the two given equations gives $$\frac{a}{a}+\frac{a}{b}+\frac{a}{c}+\frac{b}{a}+\frac{b}{b}+\frac{b}{c}+\frac{c}{a}+\frac{c}{b}+\frac{c}{c}=26 \cdot 28=728$$ and subtracting 3 from both sides gives the answer, 725. |
Let $S=\{1,2, \ldots, 2021\}$, and let $\mathcal{F}$ denote the set of functions $f: S \rightarrow S$. For a function $f \in \mathcal{F}$, let $$T_{f}=\left\{f^{2021}(s): s \in S\right\}$$ where $f^{2021}(s)$ denotes $f(f(\cdots(f(s)) \cdots))$ with 2021 copies of $f$. Compute the remainder when $$\sum_{f \in \mathcal{... | 255 | The key idea is that $t \in T_{f}$ if and only if $f^{k}(t)=t$ for some $k>0$. To see this, let $s \in S$ and consider $$s, f(s), f(f(s)), \ldots, f^{2021}(s)$$ This sequence has 2022 terms that are all in $S$, so we must have a repeat. Suppose $f^{m}(s)=f^{n}(s)$ with $0 \leq n<m \leq 2021$. Then $f^{2021}(s)=f^{2021+... |
There is a heads up coin on every integer of the number line. Lucky is initially standing on the zero point of the number line facing in the positive direction. Lucky performs the following procedure: he looks at the coin (or lack thereof) underneath him, and then, - If the coin is heads up, Lucky flips it to tails up,... | 6098 | We keep track of the following quantities: Let $N$ be the sum of $2^{k}$, where $k$ ranges over all nonnegative integers such that position $-1-k$ on the number line contains a tails-up coin. Let $M$ be the sum of $2^{k}$, where $k$ ranges over all nonnegative integers such that position $k$ contains a tails-up coin. W... |
Somewhere in the universe, $n$ students are taking a 10-question math competition. Their collective performance is called laughable if, for some pair of questions, there exist 57 students such that either all of them answered both questions correctly or none of them answered both questions correctly. Compute the smalle... | 253 | Let $c_{i, j}$ denote the number of students correctly answering questions $i$ and $j(1 \leq i<j \leq 10)$, and let $w_{i, j}$ denote the number of students getting both questions wrong. An individual student answers $k$ questions correctly and $10-k$ questions incorrectly. This student answers $\binom{k}{2}$ pairs of ... |
What is the maximum number of bishops that can be placed on an $8 \times 8$ chessboard such that at most three bishops lie on any diagonal? | 38 | If the chessboard is colored black and white as usual, then any diagonal is a solid color, so we may consider bishops on black and white squares separately. In one direction, the lengths of the black diagonals are $2,4,6,8,6,4$, and 2 . Each of these can have at most three bishops, except the first and last which can h... |
Let $N$ be a positive integer. Brothers Michael and Kylo each select a positive integer less than or equal to $N$, independently and uniformly at random. Let $p_{N}$ denote the probability that the product of these two integers has a units digit of 0. The maximum possible value of $p_{N}$ over all possible choices of $... | 2800 | For $k \in\{2,5,10\}$, let $q_{k}=\frac{\lfloor N / k\rfloor}{N}$ be the probability that an integer chosen uniformly at random from $[N]$ is a multiple of $k$. Clearly, $q_{k} \leq \frac{1}{k}$, with equality iff $k$ divides $N$. The product of $p_{1}, p_{2} \in[N]$ can be a multiple of 10 in two ways: one of them is ... |
For how many ordered triplets $(a, b, c)$ of positive integers less than 10 is the product $a \times b \times c$ divisible by 20? | 102 | One number must be 5. The other two must have a product divisible by 4. Either both are even, or one is divisible by 4 and the other is odd. In the former case, there are $48=3 \times 4 \times 4$ possibilities: 3 positions for the 5, and any of 4 even numbers to fill the other two. In the latter case, there are $54=3 \... |
In triangle $A B C$ with altitude $A D, \angle B A C=45^{\circ}, D B=3$, and $C D=2$. Find the area of triangle $A B C$. | 15 | Suppose first that $D$ lies between $B$ and $C$. Let $A B C$ be inscribed in circle $\omega$, and extend $A D$ to intersect $\omega$ again at $E$. Note that $A$ subtends a quarter of the circle, so in particular, the chord through $C$ perpendicular to $B C$ and parallel to $A D$ has length $B C=5$. Therefore, $A D=5+D ... |
A committee of 5 is to be chosen from a group of 9 people. How many ways can it be chosen, if Bill and Karl must serve together or not at all, and Alice and Jane refuse to serve with each other? | 41 | If Bill and Karl are on the committee, there are $\binom{7}{3}=35$ ways for the other group members to be chosen. However, if Alice and Jane are on the committee with Bill and Karl, there are $\binom{5}{1}=5$ ways for the last member to be chosen, yielding 5 unacceptable committees. If Bill and Karl are not on the comm... |
Manya has a stack of $85=1+4+16+64$ blocks comprised of 4 layers (the $k$ th layer from the top has $4^{k-1}$ blocks). Each block rests on 4 smaller blocks, each with dimensions half those of the larger block. Laura removes blocks one at a time from this stack, removing only blocks that currently have no blocks on top ... | 3384 | Each time Laura removes a block, 4 additional blocks are exposed, increasing the total number of exposed blocks by 3 . She removes 5 blocks, for a total of $1 \cdot 4 \cdot 7 \cdot 10 \cdot 13$ ways. However, the stack originally only has 4 layers, so we must subtract the cases where removing a block on the bottom laye... |
On each cell of a $200 \times 200$ grid, we place a car, which faces in one of the four cardinal directions. In a move, one chooses a car that does not have a car immediately in front of it, and slides it one cell forward. If a move would cause a car to exit the grid, the car is removed instead. The cars are placed so ... | 6014950 | Let $n=100$. The answer is $\frac{1}{2} n\left(12 n^{2}+3 n-1\right)=6014950$. A construction for an $8 \times 8$ grid instead (so $n=4$ ):  Label the rows and columns from 1 to $2 n$, and let ... |
Farmer James wishes to cover a circle with circumference $10 \pi$ with six different types of colored arcs. Each type of arc has radius 5, has length either $\pi$ or $2 \pi$, and is colored either red, green, or blue. He has an unlimited number of each of the six arc types. He wishes to completely cover his circle with... | 93 | Fix an orientation of the circle, and observe that the problem is equivalent to finding the number of ways to color ten equal arcs of the circle such that each arc is one of three different colors, and any two arcs which are separated by exactly one arc are of different colors. We can consider every other arc, so we ar... |
How many pairs of positive integers $(a, b)$ with $a \leq b$ satisfy $\frac{1}{a} + \frac{1}{b} = \frac{1}{6}$? | 5 | $\frac{1}{a} + \frac{1}{b} = \frac{1}{6} \Rightarrow \frac{a+b}{ab} = \frac{1}{6} \Rightarrow ab = 6a + 6b \Rightarrow ab - 6a - 6b = 0$. Factoring yields $(a-6)(b-6) = 36$. Because $a$ and $b$ are positive integers, only the factor pairs of 36 are possible values of $a-6$ and $b-6$. The possible pairs are: $$\begin{al... |
Let $V=\{1, \ldots, 8\}$. How many permutations $\sigma: V \rightarrow V$ are automorphisms of some tree? | 30212 | We decompose into cycle types of $\sigma$. Note that within each cycle, all vertices have the same degree; also note that the tree has total degree 14 across its vertices (by all its seven edges). For any permutation that has a 1 in its cycle type (i.e it has a fixed point), let $1 \leq a \leq 8$ be a fixed point. Cons... |
Ava and Tiffany participate in a knockout tournament consisting of a total of 32 players. In each of 5 rounds, the remaining players are paired uniformly at random. In each pair, both players are equally likely to win, and the loser is knocked out of the tournament. The probability that Ava and Tiffany play each other ... | 116 | Each match eliminates exactly one player, so exactly $32-1=31$ matches are played, each of which consists of a different pair of players. Among the $\binom{32}{2}=\frac{32 \cdot 31}{2}=496$ pairs of players, each pair is equally likely to play each other at some point during the tournament. Therefore, the probability t... |
Let $a, b$, and $c$ be the 3 roots of $x^{3}-x+1=0$. Find $\frac{1}{a+1}+\frac{1}{b+1}+\frac{1}{c+1}$. | -2 | We can substitute $x=y-1$ to obtain a polynomial having roots $a+1, b+1, c+1$, namely, $(y-1)^{3}-(y-1)+1=y^{3}-3 y^{2}+2 y+1$. The sum of the reciprocals of the roots of this polynomial is, by Viete's formulas, $\frac{2}{-1}=-2$. |
How many positive integers at most 420 leave different remainders when divided by each of 5, 6, and 7? | 250 | Note that $210=5 \cdot 6 \cdot 7$ and $5,6,7$ are pairwise relatively prime. So, by the Chinese Remainder Theorem, we can just consider the remainders $n$ leaves when divided by each of $5,6,7$. To construct an $n$ that leaves distinct remainders, first choose its remainder modulo 5, then modulo 6, then modulo 7. We ha... |
For any positive integer $n$, let $f(n)$ denote the number of 1's in the base-2 representation of $n$. For how many values of $n$ with $1 \leq n \leq 2002$ do we have $f(n)=f(n+1)$? | 501 | If $n$ is even, then $n+1$ is obtained from $n$ in binary by changing the final 0 to a 1; thus $f(n+1)=f(n)+1$. If $n$ is odd, then $n+1$ is obtained by changing the last 0 to a 1, the ensuing string of 1's to 0's, and then changing the next rightmost 0 to a 1. This produces no net change in the number of 1's iff $n$ e... |
Jude repeatedly flips a coin. If he has already flipped $n$ heads, the coin lands heads with probability $\frac{1}{n+2}$ and tails with probability $\frac{n+1}{n+2}$. If Jude continues flipping forever, let $p$ be the probability that he flips 3 heads in a row at some point. Compute $\lfloor 180 p\rfloor$. | 47 | Let $p_{n}$ be the probability that the $n$th head is flipped after a tail and Jude has yet to flip 3 heads consecutively to this point. For example, $p_{2}=\frac{2}{3}$, as it is impossible for 3 heads to be flipped consecutively and the second head comes after a tail exactly when the first flip after the first head i... |
A man named Juan has three rectangular solids, each having volume 128. Two of the faces of one solid have areas 4 and 32. Two faces of another solid have areas 64 and 16. Finally, two faces of the last solid have areas 8 and 32. What is the minimum possible exposed surface area of the tallest tower Juan can construct b... | 688 | Suppose that $x, y, z$ are the sides of the following solids. Then Volume $=xyz=128$. For the first solid, without loss of generality (with respect to assigning lengths to $x, y, z$), $xy=4$ and $yz=32$. Then $xy^{2}z=128$. Then $y=1$. Solving the remaining equations yields $x=4$ and $z=32$. Then the first solid has di... |
Find the number of ordered pairs of integers $(a, b)$ such that $a, b$ are divisors of 720 but $a b$ is not. | 2520 | First consider the case $a, b>0$. We have $720=2^{4} \cdot 3^{2} \cdot 5$, so the number of divisors of 720 is $5 * 3 * 2=30$. We consider the number of ways to select an ordered pair $(a, b)$ such that $a, b, a b$ all divide 720. Using the balls and urns method on each of the prime factors, we find the number of ways ... |
You are given 16 pieces of paper numbered $16,15, \ldots, 2,1$ in that order. You want to put them in the order $1,2, \ldots, 15,16$ switching only two adjacent pieces of paper at a time. What is the minimum number of switches necessary? | 120 | Piece 16 has to move to the back 15 times, piece 15 has to move to the back 14 times, ..., piece 2 has to move to the back 1 time, piece 1 has to move to the back 0 times. Since only one piece can move back in each switch, we must have at least $15+14+\ldots+1=\mathbf{120}$ switches. |
Compute the number of positive integers $n \leq 1000$ such that \operatorname{lcm}(n, 9)$ is a perfect square. | 43 | Suppose $n=3^{a} m$, where $3 \nmid m$. Then $$\operatorname{lcm}(n, 9)=3^{\max (a, 2)} m$$ In order for this to be a square, we require $m$ to be a square, and $a$ to either be even or 1 . This means $n$ is either a square (if $a$ is even) or of the form $3 k^{2}$ where $3 \nmid k$ (if $a=1$ ). There are 31 numbers of... |
The function $f$ satisfies $f(x)+f(2 x+y)+5 x y=f(3 x-y)+2 x^{2}+1$ for all real numbers $x, y$. Determine the value of $f(10)$. | -49 | Setting $x=10$ and $y=5$ gives $f(10)+f(25)+250=f(25)+200+1$, from which we get $f(10)=-49$. Remark: By setting $y=\frac{x}{2}$, we see that the function is $f(x)=-\frac{1}{2} x^{2}+1$, and it can be checked that this function indeed satisfies the given equation. |
There are 10 people who want to choose a committee of 5 people among them. They do this by first electing a set of $1,2,3$, or 4 committee leaders, who then choose among the remaining people to complete the 5-person committee. In how many ways can the committee be formed, assuming that people are distinguishable? (Two ... | 7560 | There are $\binom{10}{5}$ ways to choose the 5-person committee. After choosing the committee, there are $2^{5}-2=30$ ways to choose the leaders. So the answer is $30 \cdot\binom{10}{5}=7560$. |
Let $f(n)$ be the number of times you have to hit the $\sqrt{ }$ key on a calculator to get a number less than 2 starting from $n$. For instance, $f(2)=1, f(5)=2$. For how many $1<m<2008$ is $f(m)$ odd? | 242 | This is $[2^{1}, 2^{2}) \cup [2^{4}, 2^{8}) \cup [2^{16}, 2^{32}) \ldots$, and $2^{8}<2008<2^{16}$ so we have exactly the first two intervals. |
Suppose $E, I, L, V$ are (not necessarily distinct) nonzero digits in base ten for which the four-digit number $\underline{E} \underline{V} \underline{I} \underline{L}$ is divisible by 73 , and the four-digit number $\underline{V} \underline{I} \underline{L} \underline{E}$ is divisible by 74 . Compute the four-digit nu... | 9954 | Let $\underline{E}=2 k$ and $\underline{V} \underline{I} \underline{L}=n$. Then $n \equiv-2000 k(\bmod 73)$ and $n \equiv-k / 5(\bmod 37)$, so $n \equiv 1650 k(\bmod 2701)$. We can now exhaustively list the possible cases for $k$ : - if $k=1$, then $n \equiv 1650$ which is not possible; - if $k=2$, then $n \equiv 2 \cd... |
Let $a, b, c, d, e$ be nonnegative integers such that $625 a+250 b+100 c+40 d+16 e=15^{3}$. What is the maximum possible value of $a+b+c+d+e$ ? | 153 | The intuition is that as much should be in $e$ as possible. But divisibility obstructions like $16 \nmid 15^{3}$ are in our way. However, the way the coefficients $5^{4}>5^{3} \cdot 2>\cdots$ are set up, we can at least easily avoid having $a, b, c, d$ too large (specifically, $\geq 2$ ). This is formalized below. Firs... |
In the figure below, how many ways are there to select 5 bricks, one in each row, such that any two bricks in adjacent rows are adjacent? | 61 | The number of valid selections is equal to the number of paths which start at a top brick and end at a bottom brick. We compute these by writing 1 in each of the top bricks and letting lower bricks be the sum of the one or two bricks above them. Thus, the number inside each brick is the number of paths from that brick ... |
Find the sum of the even positive divisors of 1000. | 2184 | Notice that $2 k$ is a divisor of 1000 iff $k$ is a divisor of 500, so we need only find the sum of the divisors of 500 and multiply by 2. This can be done by enumerating the divisors individually, or simply by using the formula: $\sigma\left(2^{2} \cdot 5^{3}\right)=\left(1+2+2^{2}\right)(1+5+5^{2}+5^{3}\right)=1092$,... |
Find the greatest common divisor of the numbers $2002+2,2002^{2}+2,2002^{3}+2, \ldots$. | 6 | Notice that $2002+2$ divides $2002^{2}-2^{2}$, so any common divisor of $2002+2$ and $2002^{2}+2$ must divide $\left(2002^{2}+2\right)-\left(2002^{2}-2^{2}\right)=6$. On the other hand, every number in the sequence is even, and the $n$th number is always congruent to $1^{n}+2 \equiv 0$ modulo 3 . Thus, 6 divides every ... |
Let $S$ be the set of all 3-digit numbers with all digits in the set $\{1,2,3,4,5,6,7\}$ (so in particular, all three digits are nonzero). For how many elements $\overline{a b c}$ of $S$ is it true that at least one of the (not necessarily distinct) 'digit cycles' $\overline{a b c}, \overline{b c a}, \overline{c a b}$ ... | 127 | Since the value of each digit is restricted to $\{1,2, \ldots, 7\}$, there is exactly one digit representative of each residue class modulo 7. Note that $7 \mid \overline{a b c}$ if and only if $100 a+10 b+c \equiv 0(\bmod 7)$ or equivalently $2 a+3 b+c \equiv 0$. So we want the number of triples of residues $(a, b, c)... |
Let $S$ be the sum of all the real coefficients of the expansion of $(1+i x)^{2009}$. What is $\log _{2}(S)$ ? | 1004 | The sum of all the coefficients is $(1+i)^{2009}$, and the sum of the real coefficients is the real part of this, which is $\frac{1}{2}((1+i)^{2009}+(1-i)^{2009})=2^{1004}$. Thus $\log _{2}(S)=1004$. |
If $a, b, x$, and $y$ are real numbers such that $a x+b y=3, a x^{2}+b y^{2}=7, a x^{3}+b y^{3}=16$, and $a x^{4}+b y^{4}=42$, find $a x^{5}+b y^{5}$ | 20 | We have $a x^{3}+b y^{3}=16$, so $(a x^{3}+b y^{3})(x+y)=16(x+y)$ and thus $$a x^{4}+b y^{4}+x y(a x^{2}+b y^{2})=16(x+y)$$ It follows that $$42+7 x y=16(x+y) \tag{1}$$ From $a x^{2}+b y^{2}=7$, we have $(a x^{2}+b y^{2})(x+y)=7(x+y)$ so $a x^{3}+b y^{3}+x y(a x^{2}+b y^{2})=7(x+y)$. This simplifies to $$16+3 x y=7(x+y... |
Let $S$ be the set of ordered pairs $(a, b)$ of positive integers such that \operatorname{gcd}(a, b)=1$. Compute $$\sum_{(a, b) \in S}\left\lfloor\frac{300}{2 a+3 b}\right\rfloor$$ | 7400 | The key claim is the following. Claim: The sum in the problem is equal to the number of solutions of $2 x+3 y \leq 300$ where $x, y$ are positive integers. Proof. The sum in the problem is the same as counting the number of triples $(a, b, d)$ of positive integers such that \operatorname{gcd}(a, b)=1$ and $d(2 a+3 b) \... |
Suppose $a, b$ and $c$ are integers such that the greatest common divisor of $x^{2}+a x+b$ and $x^{2}+b x+c$ is $x+1$ (in the ring of polynomials in $x$ with integer coefficients), and the least common multiple of $x^{2}+a x+b$ and $x^{2}+b x+c$ is $x^{3}-4 x^{2}+x+6$. Find $a+b+c$. | -6 | Since $x+1$ divides $x^{2}+a x+b$ and the constant term is $b$, we have $x^{2}+a x+b=(x+1)(x+b)$, and similarly $x^{2}+b x+c=(x+1)(x+c)$. Therefore, $a=b+1=c+2$. Furthermore, the least common multiple of the two polynomials is $(x+1)(x+b)(x+b-1)=x^{3}-4 x^{2}+x+6$, so $b=-2$. Thus $a=-1$ and $c=-3$, and $a+b+c=-6$. |
Let $f(x)=x^{3}+x+1$. Suppose $g$ is a cubic polynomial such that $g(0)=-1$, and the roots of $g$ are the squares of the roots of $f$. Find $g(9)$. | 899 | Let $a, b, c$ be the zeros of $f$. Then $f(x)=(x-a)(x-b)(x-c)$. Then, the roots of $g$ are $a^{2}, b^{2}, c^{2}$, so $g(x)=k(x-a^{2})(x-b^{2})(x-c^{2})$ for some constant $k$. Since $a b c=-f(0)=-1$, we have $k=k a^{2} b^{2} c^{2}=-g(0)=1$. Thus, $g(x^{2})=(x^{2}-a^{2})(x^{2}-b^{2})(x^{2}-c^{2})=(x-a)(x-b)(x-c)(x+a)(x+... |
If $\tan x+\tan y=4$ and $\cot x+\cot y=5$, compute $\tan (x+y)$. | 20 | We have $\cot x+\cot y=\frac{\tan x+\tan y}{\tan x \tan y}$, so $\tan x \tan y=\frac{4}{5}$. Thus, by the $\tan$ sum formula, $\tan (x+y)=\frac{\tan x+\tan y}{1-\tan x \tan y}=20$. |
On the Cartesian grid, Johnny wants to travel from $(0,0)$ to $(5,1)$, and he wants to pass through all twelve points in the set $S=\{(i, j) \mid 0 \leq i \leq 1,0 \leq j \leq 5, i, j \in \mathbb{Z}\}$. Each step, Johnny may go from one point in $S$ to another point in $S$ by a line segment connecting the two points. H... | 252 | Observe that Johnny needs to pass through the points $(0,0),(1,0),(2,0), \ldots,(5,0)$ in that order, and he needs to pass through $(0,1),(1,1),(2,1), \ldots,(5,1)$ in that order, or else he will intersect his own path. Then, the problem is equivalent to interlacing those two sequence together, so that the first term i... |
The fraction $\frac{1}{2015}$ has a unique "(restricted) partial fraction decomposition" of the form $\frac{1}{2015}=\frac{a}{5}+\frac{b}{13}+\frac{c}{31}$ where $a, b, c$ are integers with $0 \leq a<5$ and $0 \leq b<13$. Find $a+b$. | 14 | This is equivalent to $1=13 \cdot 31 a+5 \cdot 31 b+5 \cdot 13 c$. Taking modulo 5 gives $1 \equiv 3 \cdot 1 a (\bmod 5)$, so $a \equiv 2(\bmod 5)$. Taking modulo 13 gives $1 \equiv 5 \cdot 5 b=25 b \equiv-b(\bmod 13)$, so $b \equiv 12 (\bmod 13)$. The size constraints on $a, b$ give $a=2, b=12$, so $a+b=14$. |
Find the integer closest to $$\frac{1}{\sqrt[4]{5^{4}+1}-\sqrt[4]{5^{4}-1}}$$ | 250 | Let $x=\left(5^{4}+1\right)^{1 / 4}$ and $y=\left(5^{4}-1\right)^{1 / 4}$. Note that $x$ and $y$ are both approximately 5. We have $$\frac{1}{x-y} =\frac{(x+y)\left(x^{2}+y^{2}\right)}{(x-y)(x+y)\left(x^{2}+y^{2}\right)}=\frac{(x+y)\left(x^{2}+y^{2}\right)}{x^{4}-y^{4}} =\frac{(x+y)\left(x^{2}+y^{2}\right)}{2} \approx ... |
Let $f(x)=x^{4}+14 x^{3}+52 x^{2}+56 x+16$. Let $z_{1}, z_{2}, z_{3}, z_{4}$ be the four roots of $f$. Find the smallest possible value of $|z_{a} z_{b}+z_{c} z_{d}|$ where $\{a, b, c, d\}=\{1,2,3,4\}$. | 8 | Note that $\frac{1}{16} f(2 x)=x^{4}+7 x^{3}+13 x^{2}+7 x+1$. Because the coefficients of this polynomial are symmetric, if $r$ is a root of $f(x)$ then $\frac{4}{r}$ is as well. Further, $f(-1)=-1$ and $f(-2)=16$ so $f(x)$ has two distinct roots on $(-2,0)$ and two more roots on $(-\infty,-2)$. Now, if $\sigma$ is a p... |
Let $S$ denote the set of all triples $(i, j, k)$ of positive integers where $i+j+k=17$. Compute $$\sum_{(i, j, k) \in S} i j k$$ | 11628 | We view choosing five objects from a row of 19 objects in an unusual way. First, remove two of the chosen objects, the second and fourth, which are not adjacent nor at either end, forming three nonempty groups of consecutive objects. We then have $i, j$, and $k$ choices for the first, third, and fifth objects. Because ... |
Given an $8 \times 8$ checkerboard with alternating white and black squares, how many ways are there to choose four black squares and four white squares so that no two of the eight chosen squares are in the same row or column? | 20736 | Number both the rows and the columns from 1 to 8, and say that black squares are the ones where the rows and columns have the same parity. We will use, e.g. 'even rows' to refer to rows 2, 4, 6,8. Choosing 8 squares all in different rows and columns is equivalent to matching rows to columns. For each of the 8 rows, we ... |
G.H. Hardy once went to visit Srinivasa Ramanujan in the hospital, and he started the conversation with: "I came here in taxi-cab number 1729. That number seems dull to me, which I hope isn't a bad omen." "Nonsense," said Ramanujan. "The number isn't dull at all. It's quite interesting. It's the smallest number that ca... | 251 | Let this smallest positive integer be represented as $a^{3} + b^{3} + c^{3} = d^{3} + e^{3} + f^{3}$. By inspection, a solution is not possible with the first 4 cubes. We prove that it is impossible to write the same number as two different sums of the first 5 cubes. Because we necessarily need to use the 5th cube (oth... |
Eight celebrities meet at a party. It so happens that each celebrity shakes hands with exactly two others. A fan makes a list of all unordered pairs of celebrities who shook hands with each other. If order does not matter, how many different lists are possible? | 3507 | Let the celebrities get into one or more circles so that each circle has at least three celebrities, and each celebrity shook hands precisely with his or her neighbors in the circle. Let's consider the possible circle sizes: - There's one big circle with all 8 celebrities. Depending on the ordering of the people in the... |
Matt has somewhere between 1000 and 2000 pieces of paper he's trying to divide into piles of the same size (but not all in one pile or piles of one sheet each). He tries $2,3,4,5,6,7$, and 8 piles but ends up with one sheet left over each time. How many piles does he need? | 41 | The number of sheets will leave a remainder of 1 when divided by the least common multiple of $2,3,4,5,6,7$, and 8, which is $8 \cdot 3 \cdot 5 \cdot 7=840$. Since the number of sheets is between 1000 and 2000, the only possibility is 1681. The number of piles must be a divisor of $1681=41^{2}$, hence it must be 41. |
Compute the number of sequences of integers $(a_{1}, \ldots, a_{200})$ such that the following conditions hold. - $0 \leq a_{1}<a_{2}<\cdots<a_{200} \leq 202$. - There exists a positive integer $N$ with the following property: for every index $i \in\{1, \ldots, 200\}$ there exists an index $j \in\{1, \ldots, 200\}$ suc... | 20503 | Let $m:=203$ be an integer not divisible by 3. We'll show the answer for general such $m$ is $m\left\lceil\frac{m-1}{2}\right\rceil$. Let $x, y, z$ be the three excluded residues. Then $N$ works if and only if $\{x, y, z\} \equiv\{N-x, N-y, N-z\} (\bmod m)$. Since $x, y, z(\bmod m)$ has opposite orientation as $N-x, N-... |
Find the sum of all real numbers $x$ such that $5 x^{4}-10 x^{3}+10 x^{2}-5 x-11=0$. | 1 | Rearrange the equation to $x^{5}+(1-x)^{5}-12=0$. It's easy to see this has two real roots, and that $r$ is a root if and only if $1-r$ is a root, so the answer must be 1. |
Determine the number of ways to select a positive number of squares on an $8 \times 8$ chessboard such that no two lie in the same row or the same column and no chosen square lies to the left of and below another chosen square. | 12869 | If $k$ is the number of squares chosen, then there are $\binom{8}{k}$ ways to choose $k$ columns, and $\binom{8}{k}$ ways to choose $k$ rows, and this would uniquely determine the set of squares selected. Thus the answer is $$\sum_{k=1}^{8}\binom{8}{k}\binom{8}{k}=-1+\sum_{k=0}^{8}\binom{8}{k}\binom{8}{k}=-1+\binom{16}... |
Dizzy Daisy is standing on the point $(0,0)$ on the $xy$-plane and is trying to get to the point $(6,6)$. She starts facing rightward and takes a step 1 unit forward. On each subsequent second, she either takes a step 1 unit forward or turns 90 degrees counterclockwise then takes a step 1 unit forward. She may never go... | 131922 | Because Daisy can only turn in one direction and never goes to the same square twice, we see that she must travel in an increasing spiral about the origin. Clearly, she must arrive at $(6,6)$ coming from below. To count her paths, it therefore suffices to consider the horizontal and vertical lines along which she trave... |
If $a, b, c>0$, what is the smallest possible value of $\left\lfloor\frac{a+b}{c}\right\rfloor+\left\lfloor\frac{b+c}{a}\right\rfloor+\left\lfloor\frac{c+a}{b}\right\rfloor$? (Note that $\lfloor x\rfloor$ denotes the greatest integer less than or equal to $x$.) | 4 | Since $\lfloor x\rfloor>x-1$ for all $x$, we have that $$\begin{aligned} \left\lfloor\frac{a+b}{c}\right\rfloor+\left\lfloor\frac{b+c}{a}\right\rfloor+\left\lfloor\frac{c+a}{b}\right\rfloor & >\frac{a+b}{c}+\frac{b+c}{a}+\frac{c+a}{b}-3 \\ & =\left(\frac{a}{b}+\frac{b}{a}\right)+\left(\frac{b}{c}+\frac{c}{b}\right)+\le... |
For any positive integers $a$ and $b$ with $b>1$, let $s_{b}(a)$ be the sum of the digits of $a$ when it is written in base $b$. Suppose $n$ is a positive integer such that $$\sum_{i=1}^{\left\lfloor\log _{23} n\right\rfloor} s_{20}\left(\left\lfloor\frac{n}{23^{i}}\right\rfloor\right)=103 \quad \text { and } \sum_{i=1... | 81 | First we will prove that $$s_{a}(n)=n-(a-1)\left(\sum_{i=1}^{\infty}\left\lfloor\frac{n}{a^{i}}\right\rfloor\right)$$ If $n=\left(n_{k} n_{k-1} \cdots n_{1} n_{0}\right)_{a}$, then the digit $n_{i}$ contributes $n_{i}$ to the left side of the sum, while it contributes $$n_{i}\left(a^{i}-(a-1)\left(a^{i-1}+a^{i-2}+\cdot... |
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... |
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... |
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... |
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. |
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)... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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... |
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 ... |
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... |
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... |
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... |
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... |
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... |
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... |
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 ... |
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... |
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}$. |
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... |
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... |
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... |
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.... |
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 ... |
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} ... |
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... |
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}$. |
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}$. |
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$. |
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$ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.