problem stringlengths 11 5.15k | answer stringlengths 1 42 | solution stringlengths 0 8.75k |
|---|---|---|
Let $P$ be the set of points $$\{(x, y) \mid 0 \leq x, y \leq 25, x, y \in \mathbb{Z}\}$$ and let $T$ be the set of triangles formed by picking three distinct points in $P$ (rotations, reflections, and translations count as distinct triangles). Compute the number of triangles in $T$ that have area larger than 300. | 436 | Lemma: The area of any triangle inscribed in an $a$ by $b$ rectangle is at most $\frac{ab}{2}$. (Any triangle's area can be increased by moving one of its sides to a side of the rectangle). Given this, because any triangle in $T$ is inscribed in a $25 \times 25$ square, we know that the largest possible area of a trian... |
Let $n$ be a positive integer. Claudio has $n$ cards, each labeled with a different number from 1 to n. He takes a subset of these cards, and multiplies together the numbers on the cards. He remarks that, given any positive integer $m$, it is possible to select some subset of the cards so that the difference between th... | 17 | We require that $n \geq 15$ so that the product can be divisible by 25 without being even. In addition, for any $n>15$, if we can acquire all residues relatively prime to 100, we may multiply them by some product of $\{1,2,4,5,15\}$ to achieve all residues modulo 100, so it suffices to acquire only those residues. For ... |
Boris was given a Connect Four game set for his birthday, but his color-blindness makes it hard to play the game. Still, he enjoys the shapes he can make by dropping checkers into the set. If the number of shapes possible modulo (horizontal) flips about the vertical axis of symmetry is expressed as $9(1+2+\cdots+n)$, f... | 729 | There are $9^{7}$ total shapes possible, since each of the 7 columns can contain anywhere from 0 to 8 checkers. The number of shapes symmetric with respect to a horizontal flip is the number of shapes of the leftmost four columns, since the configuration of these four columns uniquely determines the configuration of th... |
Triangle $A B C$ has $A B=1, B C=\sqrt{7}$, and $C A=\sqrt{3}$. Let $\ell_{1}$ be the line through $A$ perpendicular to $A B, \ell_{2}$ the line through $B$ perpendicular to $A C$, and $P$ the point of intersection of $\ell_{1}$ and $\ell_{2}$. Find $P C$. | 3 | By the Law of Cosines, $\angle B A C=\cos ^{-1} \frac{3+1-7}{2 \sqrt{3}}=\cos ^{-1}\left(-\frac{\sqrt{3}}{2}\right)=150^{\circ}$. If we let $Q$ be the intersection of $\ell_{2}$ and $A C$, we notice that $\angle Q B A=90^{\circ}-\angle Q A B=90^{\circ}-30^{\circ}=60^{\circ}$. It follows that triangle $A B P$ is a 30-60... |
In the base 10 arithmetic problem $H M M T+G U T S=R O U N D$, each distinct letter represents a different digit, and leading zeroes are not allowed. What is the maximum possible value of $R O U N D$? | 16352 | Clearly $R=1$, and from the hundreds column, $M=0$ or 9. Since $H+G=9+O$ or $10+O$, it is easy to see that $O$ can be at most 7, in which case $H$ and $G$ must be 8 and 9, so $M=0$. But because of the tens column, we must have $S+T \geq 10$, and in fact since $D$ cannot be 0 or $1, S+T \geq 12$, which is impossible giv... |
For positive integers $n$, let $c_{n}$ be the smallest positive integer for which $n^{c_{n}}-1$ is divisible by 210, if such a positive integer exists, and $c_{n}=0$ otherwise. What is $c_{1}+c_{2}+\cdots+c_{210}$? | 329 | In order for $c_{n} \neq 0$, we must have $\operatorname{gcd}(n, 210)=1$, so we need only consider such $n$. The number $n^{c_{n}}-1$ is divisible by 210 iff it is divisible by each of 2, 3, 5, and 7, and we can consider the order of $n$ modulo each modulus separately; $c_{n}$ will simply be the LCM of these orders. We... |
Find the 6-digit number beginning and ending in the digit 2 that is the product of three consecutive even integers. | 287232 | Because the last digit of the product is 2, none of the three consecutive even integers end in 0. Thus they must end in $2,4,6$ or $4,6,8$, so they must end in $4,6,8$ since $2 \cdot 4 \cdot 6$ does not end in 2. Call the middle integer $n$. Then the product is $(n-2) n(n+2)=n^{3}-4 n$, so $n>\sqrt[3]{200000}=\sqrt[3]{... |
If 5 points are placed in the plane at lattice points (i.e. points $(x, y)$ where $x$ and $y$ are both integers) such that no three are collinear, then there are 10 triangles whose vertices are among these points. What is the minimum possible number of these triangles that have area greater than $1 / 2$ ? | 4 | By the pigeonhole principle, the 5 points cannot all be distinct modulo 2, so two of them must have a midpoint that is also a lattice point. This midpoint is not one of the 5 since no 3 are collinear. Pick's theorem states that the area of a polygon whose vertices are lattice points is $B / 2+I-1$ where $B$ is the numb... |
In a group of 50 children, each of the children in the group have all of their siblings in the group. Each child with no older siblings announces how many siblings they have; however, each child with an older sibling is too embarrassed, and says they have 0 siblings. If the average of the numbers everyone says is $\fra... | 26 | For $i \geq 1$, let $a_{i}$ be the number of families that have $i$ members in the group. Then, among each family with $i$ children in the group, the oldest child will say $i-1$, and the rest will say 0. Thus, the sum of all the numbers said will be $a_{2}+2 a_{3}+3 a_{4}+4 a_{5}+\cdots=50 \times \frac{12}{25}=24$. Als... |
The Dingoberry Farm is a 10 mile by 10 mile square, broken up into 1 mile by 1 mile patches. Each patch is farmed either by Farmer Keith or by Farmer Ann. Whenever Ann farms a patch, she also farms all the patches due west of it and all the patches due south of it. Ann puts up a scarecrow on each of her patches that is... | 7 | Whenever Ann farms a patch $P$, she also farms all the patches due west of $P$ and due south of $P$. So, the only way she can put a scarecrow on $P$ is if Keith farms the patch immediately north of $P$ and the patch immediately east of $P$, in which case Ann cannot farm any of the patches due north of $P$ or due east o... |
Let $f: \mathbb{N} \rightarrow \mathbb{N}$ be a function satisfying the following conditions: (a) $f(1)=1$ (b) $f(a) \leq f(b)$ whenever $a$ and $b$ are positive integers with $a \leq b$. (c) $f(2a)=f(a)+1$ for all positive integers $a$. How many possible values can the 2014-tuple $(f(1), f(2), \ldots, f(2014))$ take? | 1007 | Note that $f(2014)=f(1007)+1$, so there must be exactly one index $1008 \leq i \leq 2014$ such that $f(i)=f(i-1)+1$, and for all $1008 \leq j \leq 2014, j \neq i$ we must have $f(j)=f(j-1)$. We first claim that each value of $i$ corresponds to exactly one 2014-tuple $(f(1), \ldots, f(2014))$. To prove this, note that $... |
Five people are at a party. Each pair of them are friends, enemies, or frenemies (which is equivalent to being both friends and enemies). It is known that given any three people $A, B, C$ : - If $A$ and $B$ are friends and $B$ and $C$ are friends, then $A$ and $C$ are friends; - If $A$ and $B$ are enemies and $B$ and $... | 17 | If $A$ and $B$ are frenemies, then regardless of whether another person $C$ is friends or enemies with $A$, $C$ will have to be frenemies with $B$ and vice versa. Therefore, if there is one pair of frenemies then all of them are frenemies with each other, and there is only one possibility. If there are no frenemies, th... |
If $n$ is a positive integer, let $s(n)$ denote the sum of the digits of $n$. We say that $n$ is zesty if there exist positive integers $x$ and $y$ greater than 1 such that $x y=n$ and $s(x) s(y)=s(n)$. How many zesty two-digit numbers are there? | 34 | Let $n$ be a zesty two-digit number, and let $x$ and $y$ be as in the problem statement. Clearly if both $x$ and $y$ are one-digit numbers, then $s(x) s(y)=n \neq s(n)$. Thus either $x$ is a two-digit number or $y$ is. Assume without loss of generality that it is $x$. If $x=10 a+b, 1 \leq a \leq 9$ and $0 \leq b \leq 9... |
Find the number of positive integer solutions to $n^{x}+n^{y}=n^{z}$ with $n^{z}<2001$. | 10 | If $n=1$, the relation can not hold, so assume otherwise. If $x>y$, the left hand side factors as $n^{y}\left(n^{x-y}+1\right)$ so $n^{x-y}+1$ is a power of $n$. But it leaves a remainder of 1 when divided by $n$ and is greater than 1, a contradiction. We reach a similar contradiction if $y>x$. So $y=x$ and $2 n^{x}=n^... |
Let $A B C D$ be a convex quadrilateral inscribed in a circle with shortest side $A B$. The ratio $[B C D] /[A B D]$ is an integer (where $[X Y Z]$ denotes the area of triangle $X Y Z$.) If the lengths of $A B, B C, C D$, and $D A$ are distinct integers no greater than 10, find the largest possible value of $A B$. | 5 | Note that $$\frac{[B C D]}{[A B D]}=\frac{\frac{1}{2} B C \cdot C D \cdot \sin C}{\frac{1}{2} D A \cdot A B \cdot \sin A}=\frac{B C \cdot C D}{D A \cdot A B}$$ since $\angle A$ and $\angle C$ are supplementary. If $A B \geq 6$, it is easy to check that no assignment of lengths to the four sides yields an integer ratio,... |
In a chess-playing club, some of the players take lessons from other players. It is possible (but not necessary) for two players both to take lessons from each other. It so happens that for any three distinct members of the club, $A, B$, and $C$, exactly one of the following three statements is true: $A$ takes lessons ... | 4 | If $P, Q, R, S$, and $T$ are any five distinct players, then consider all pairs $A, B \in$ $\{P, Q, R, S, T\}$ such that $A$ takes lessons from $B$. Each pair contributes to exactly three triples $(A, B, C)$ (one for each of the choices of $C$ distinct from $A$ and $B$ ); three triples $(C, A, B)$; and three triples $(... |
For how many integers $n$ between 1 and 2005, inclusive, is $2 \cdot 6 \cdot 10 \cdots(4 n-2)$ divisible by $n!$? | 2005 | Note that $$\begin{aligned} 2 \cdot 6 \cdot 10 \cdots(4 n-2) & =2^{n} \cdot 1 \cdot 3 \cdot 5 \cdots(2 n-1) \\ & =2^{n} \cdot \frac{1 \cdot 2 \cdot 3 \cdots 2 n}{2 \cdot 4 \cdot 6 \cdots 2 n} \\ & =\frac{1 \cdot 2 \cdot 3 \cdots 2 n}{1 \cdot 2 \cdot 3 \cdots n} \end{aligned}$$ that is, it is just $(2 n)!/ n$ !. Therefo... |
Let $\mathbb{R}$ be the set of real numbers. Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a function such that for all real numbers $x$ and $y$, we have $$f\left(x^{2}\right)+f\left(y^{2}\right)=f(x+y)^{2}-2 x y$$ Let $S=\sum_{n=-2019}^{2019} f(n)$. Determine the number of possible values of $S$. | 2039191 | Letting $y=-x$ gives $$f\left(x^{2}\right)+f\left(x^{2}\right)=f(0)^{2}+2 x^{2}$$ for all $x$. When $x=0$ the equation above gives $f(0)=0$ or $f(0)=2$. If $f(0)=2$, then $f(x)=x+2$ for all nonegative $x$, so the LHS becomes $x^{2}+y^{2}+4$, and RHS becomes $x^{2}+y^{2}+4 x+4 y+4$ for all $x+y \geq 0$, which cannot be ... |
Suppose there exists a convex $n$-gon such that each of its angle measures, in degrees, is an odd prime number. Compute the difference between the largest and smallest possible values of $n$. | 356 | We can't have $n=3$ since the sum of the angles must be $180^{\circ}$ but the sum of three odd numbers is odd. On the other hand, for $n=4$ we can take a quadrilateral with angle measures $83^{\circ}, 83^{\circ}, 97^{\circ}, 97^{\circ}$. The largest possible value of $n$ is 360. For larger $n$ we can't even have all an... |
You are given a set of cards labeled from 1 to 100. You wish to make piles of three cards such that in any pile, the number on one of the cards is the product of the numbers on the other two cards. However, no card can be in more than one pile. What is the maximum number of piles you can form at once? | 8 | Certainly, the two factors in any pile cannot both be at least 10, since then the product would be at least $10 \times 11>100$. Also, the number 1 can not appear in any pile, since then the other two cards in the pile would have to be the same. So each pile must use one of the numbers $2,3, \ldots, 9$ as one of the fac... |
In how many ways can 6 purple balls and 6 green balls be placed into a $4 \times 4$ grid of boxes such that every row and column contains two balls of one color and one ball of the other color? Only one ball may be placed in each box, and rotations and reflections of a single configuration are considered different. | 5184 | In each row or column, exactly one box is left empty. There are $4!=24$ ways to choose the empty spots. Once that has been done, there are 6 ways to choose which two rows have 2 purple balls each. Now, assume without loss of generality that boxes $(1,1)$, $(2,2),(3,3)$, and $(4,4)$ are the empty ones, and that rows 1 a... |
How many regions of the plane are bounded by the graph of $$x^{6}-x^{5}+3 x^{4} y^{2}+10 x^{3} y^{2}+3 x^{2} y^{4}-5 x y^{4}+y^{6}=0 ?$$ | 5 | The left-hand side decomposes as $$\left(x^{6}+3 x^{4} y^{2}+3 x^{2} y^{4}+y^{6}\right)-\left(x^{5}-10 x^{3} y^{2}+5 x y^{4}\right)=\left(x^{2}+y^{2}\right)^{3}-\left(x^{5}-10 x^{3} y^{2}+5 x y^{4}\right)$$. Now, note that $$(x+i y)^{5}=x^{5}+5 i x^{4} y-10 x^{3} y^{2}-10 i x^{2} y^{3}+5 x y^{4}+i y^{5}$$ so that our f... |
A tournament among 2021 ranked teams is played over 2020 rounds. In each round, two teams are selected uniformly at random among all remaining teams to play against each other. The better ranked team always wins, and the worse ranked team is eliminated. Let $p$ be the probability that the second best ranked team is eli... | 674 | In any given round, the second-best team is only eliminated if it plays against the best team. If there are $k$ teams left and the second-best team has not been eliminated, the second-best team plays the best team with probability $\frac{1}{\binom{k}{2}}$, so the second-best team survives the round with probability $$1... |
Let $p=2^{24036583}-1$, the largest prime currently known. For how many positive integers $c$ do the quadratics \pm x^{2} \pm p x \pm c all have rational roots? | 0 | This is equivalent to both discriminants $p^{2} \pm 4 c$ being squares. In other words, $p^{2}$ must be the average of two squares $a^{2}$ and $b^{2}$. Note that $a$ and $b$ must have the same parity, and that \left(\frac{a+b}{2}\right)^{2}+\left(\frac{a-b}{2}\right)^{2}=\frac{a^{2}+b^{2}}{2}=p^{2}. Therefore, $p$ must... |
How many different graphs with 9 vertices exist where each vertex is connected to 2 others? | 4 | It suffices to consider the complements of the graphs, so we are looking for graphs with 9 vertices, where each vertex is connected to 2 others. There are $\mathbf{4}$ different graphs. |
For any real number $\alpha$, define $$\operatorname{sign}(\alpha)= \begin{cases}+1 & \text { if } \alpha>0 \\ 0 & \text { if } \alpha=0 \\ -1 & \text { if } \alpha<0\end{cases}$$ How many triples $(x, y, z) \in \mathbb{R}^{3}$ satisfy the following system of equations $$\begin{aligned} & x=2018-2019 \cdot \operatornam... | 3 | Since $\operatorname{sign}(x+y)$ can take one of 3 values, $z$ can be one of 3 values: 4037,2018, or -1. The same is true of $x$ and $y$. However, this shows that $x+y$ cannot be 0, so $z$ can only be 4037 or -1. The same is true of $x$ and $y$. Now note that, if any two of $x, y, z$ are -1, then the third one must be ... |
On the Cartesian plane $\mathbb{R}^{2}$, a circle is said to be nice if its center is at the origin $(0,0)$ and it passes through at least one lattice point (i.e. a point with integer coordinates). Define the points $A=(20,15)$ and $B=(20,16)$. How many nice circles intersect the open segment $A B$ ? | 10 | The square of the radius of a nice circle is the sum of the square of two integers. The nice circle of radius $r$ intersects (the open segment) $\overline{A B}$ if and only if a point on $\overline{A B}$ is a distance $r$ from the origin. $\overline{A B}$ consists of the points $(20, t)$ where $t$ ranges over $(15,16)$... |
Patrick and Anderson are having a snowball fight. Patrick throws a snowball at Anderson which is shaped like a sphere with a radius of 10 centimeters. Anderson catches the snowball and uses the snow from the snowball to construct snowballs with radii of 4 centimeters. Given that the total volume of the snowballs that A... | 15 | $$\left\lfloor\left(\frac{10}{4}\right)^{3}\right\rfloor=\left\lfloor\frac{125}{8}\right\rfloor=15$$ |
Consider the equation $F O R T Y+T E N+T E N=S I X T Y$, where each of the ten letters represents a distinct digit from 0 to 9. Find all possible values of $S I X T Y$. | 31486 | Since $Y+N+N$ ends in $Y$, $N$ must be 0 or 5. But if $N=5$ then $T+E+E+1$ ends in T, which is impossible, so $N=0$ and $E=5$. Since $F \neq S$ we must have $O=9, R+T+T+1>10$, and $S=F+1$. Now $I \neq 0$, so it must be that $I=1$ and $R+T+T+1>20$. Thus $R$ and $T$ are 6 and 7, 6 and 8, or 7 and 8 in some order. But $X$... |
Two vertices of a cube are given in space. The locus of points that could be a third vertex of the cube is the union of $n$ circles. Find $n$. | 10 | Let the distance between the two given vertices be 1. If the two given vertices are adjacent, then the other vertices lie on four circles, two of radius 1 and two of radius $\sqrt{2}$. If the two vertices are separated by a diagonal of a face of the cube, then the locus of possible vertices adjacent to both of them is ... |
For positive integers $a$ and $b$ such that $a$ is coprime to $b$, define $\operatorname{ord}_{b}(a)$ as the least positive integer $k$ such that $b \mid a^{k}-1$, and define $\varphi(a)$ to be the number of positive integers less than or equal to $a$ which are coprime to $a$. Find the least positive integer $n$ such t... | 240 | The maximum order of an element modulo $n$ is the Carmichael function, denoted $\lambda(n)$. The following properties of the Carmichael function are established: - For primes $p>2$ and positive integers $k, \lambda\left(p^{k}\right)=(p-1) p^{k-1}$. - For a positive integer $k$, $$\lambda\left(2^{k}\right)= \begin{cases... |
In how many ways can the set of ordered pairs of integers be colored red and blue such that for all $a$ and $b$, the points $(a, b),(-1-b, a+1)$, and $(1-b, a-1)$ are all the same color? | 16 | Let $\varphi_{1}$ and $\varphi_{2}$ be $90^{\circ}$ counterclockwise rotations about $(-1,0)$ and $(1,0)$, respectively. Then $\varphi_{1}(a, b)=(-1-b, a+1)$, and $\varphi_{2}(a, b)=(1-b, a-1)$. Therefore, the possible colorings are precisely those preserved under these rotations. Since $\varphi_{1}(1,0)=(-1,2)$, the c... |
What is the 18 th digit after the decimal point of $\frac{10000}{9899}$ ? | 5 | $\frac{10000}{9899}$ satisfies $100(x-1)=1.01 x$, so each pair of adjacent digits is generated by adding the previous two pairs of digits. So the decimal is $1.01020305081321345590 \ldots$, and the 18 th digit is 5. |
For a positive integer $n$, denote by $\tau(n)$ the number of positive integer divisors of $n$, and denote by $\phi(n)$ the number of positive integers that are less than or equal to $n$ and relatively prime to $n$. Call a positive integer $n$ good if $\varphi(n)+4 \tau(n)=n$. For example, the number 44 is good because... | 172 | We claim that $44,56,72$ are the only good numbers. It is easy to check that these numbers work. Now we prove none others work. First, remark that as $n=1,2$ fail so we have $\varphi(n)$ is even, thus $n$ is even. This gives us $\varphi(n) \leq n / 2$. Now remark that $\tau(n)<2 \sqrt{n}$, so it follows we need $n / 2+... |
Determine the number of integers $2 \leq n \leq 2016$ such that $n^{n}-1$ is divisible by $2,3,5,7$. | 9 | Only $n \equiv 1(\bmod 210)$ work. Proof: we require $\operatorname{gcd}(n, 210)=1$. Note that $\forall p \leq 7$ the order of $n$ $(\bmod p)$ divides $p-1$, hence is relatively prime to any $p \leq 7$. So $n^{n} \equiv 1(\bmod p) \Longleftrightarrow n \equiv 1(\bmod p)$ for each of these $p$. |
(Self-Isogonal Cubics) Let $A B C$ be a triangle with $A B=2, A C=3, B C=4$. The isogonal conjugate of a point $P$, denoted $P^{*}$, is the point obtained by intersecting the reflection of lines $P A$, $P B, P C$ across the angle bisectors of $\angle A, \angle B$, and $\angle C$, respectively. Given a point $Q$, let $\... | 49 | The first main insight is that all the cubics pass through the points $A, B, C, H$ (orthocenter), $O$, and the incenter and three excenters. Since two cubics intersect in at most nine points, this is all the intersections of a cubic with a cubic. On the other hand, it is easy to see that among intersections of circles ... |
Let $a_{1}=3$, and for $n \geq 1$, let $a_{n+1}=(n+1) a_{n}-n$. Find the smallest $m \geq 2005$ such that $a_{m+1}-1 \mid a_{m}^{2}-1$. | 2010 | We will show that $a_{n}=2 \cdot n!+1$ by induction. Indeed, the claim is obvious for $n=1$, and $(n+1)(2 \cdot n!+1)-n=2 \cdot(n+1)!+1$. Then we wish to find $m \geq 2005$ such that $2(m+1)!\mid 4(m!)^{2}+4 m$ !, or dividing by $2 \cdot m$ !, we want $m+1 \mid 2(m!+1)$. Suppose $m+1$ is composite. Then it has a proper... |
Define $\phi^{!}(n)$ as the product of all positive integers less than or equal to $n$ and relatively prime to $n$. Compute the remainder when $$ \sum_{\substack{2 \leq n \leq 50 \\ \operatorname{gcd}(n, 50)=1}} \phi^{!}(n) $$ is divided by 50 . | 12 | First, $\phi^{!}(n)$ is even for all odd $n$, so it vanishes modulo 2 . To compute the remainder modulo 25 , we first evaluate $\phi^{!}(3)+\phi^{!}(7)+\phi^{!}(9) \equiv 2+5 \cdot 4+5 \cdot 3 \equiv 12$ $(\bmod 25)$. Now, for $n \geq 11$ the contribution modulo 25 vanishes as long as $5 \nmid n$. We conclude the answe... |
Let $ABC$ be an acute triangle with incenter $I$ and circumcenter $O$. Assume that $\angle OIA=90^{\circ}$. Given that $AI=97$ and $BC=144$, compute the area of $\triangle ABC$. | 14040 | We present five different solutions and outline a sixth and seventh one. In what follows, let $a=BC$, $b=CA$, $c=AB$ as usual, and denote by $r$ and $R$ the inradius and circumradius. Let $s=\frac{1}{2}(a+b+c)$. In the first five solutions we will only prove that $\angle AIO=90^{\circ} \Longrightarrow b+c=2a$. Let us s... |
In how many ways can 4 purple balls and 4 green balls be placed into a $4 \times 4$ grid such that every row and column contains one purple ball and one green ball? Only one ball may be placed in each box, and rotations and reflections of a single configuration are considered different. | 216 | There are $4!=24$ ways to place the four purple balls into the grid. Choose any purple ball, and place two green balls, one in its row and the other in its column. There are four boxes that do not yet lie in the same row or column as a green ball, and at least one of these contains a purple ball (otherwise the two rows... |
Let $m, n > 2$ be integers. One of the angles of a regular $n$-gon is dissected into $m$ angles of equal size by $(m-1)$ rays. If each of these rays intersects the polygon again at one of its vertices, we say $n$ is $m$-cut. Compute the smallest positive integer $n$ that is both 3-cut and 4-cut. | 14 | For the sake of simplicity, inscribe the regular polygon in a circle. Note that each interior angle of the regular $n$-gon will subtend $n-2$ of the $n$ arcs on the circle. Thus, if we dissect an interior angle into $m$ equal angles, then each must be represented by a total of $\frac{n-2}{m}$ arcs. However, since each ... |
Eight coins are arranged in a circle heads up. A move consists of flipping over two adjacent coins. How many different sequences of six moves leave the coins alternating heads up and tails up? | 7680 | Imagine we flip over two adjacent coins by pushing a button halfway between them. Then the outcome depends only on the parities of the number of times that each button is pushed. To flip any coin, we must push the two buttons adjacent to that coin a total of an odd number of times. To flip every other coin, the paritie... |
(Caos) A cao [sic] has 6 legs, 3 on each side. A walking pattern for the cao is defined as an ordered sequence of raising and lowering each of the legs exactly once (altogether 12 actions), starting and ending with all legs on the ground. The pattern is safe if at any point, he has at least 3 legs on the ground and not... | 1416528 | ```
Answer: 1416528
# 1 = on ground, 0 = raised, 2 = back on ground
cache = {}
def pangzi(legs):
if legs == (2,2,2,2,2,2): return 1
elif legs.count(0) > 3: return 0
elif legs[0] + legs[1] + legs[2] == 0: return 0
elif legs[3] + legs[4] + legs[5] == 0: return 0
elif cache.has_key(legs): return cache[... |
A contest has six problems worth seven points each. On any given problem, a contestant can score either 0,1 , or 7 points. How many possible total scores can a contestant achieve over all six problems? | 28 | For $0 \leq k \leq 6$, to obtain a score that is $k(\bmod 6)$ exactly $k$ problems must get a score of 1 . The remaining $6-k$ problems can generate any multiple of 7 from 0 to $7(6-k)$, of which there are $7-k$. So the total number of possible scores is $\sum_{k=0}^{6}(7-k)=28$. |
Compute the sum of all integers $1 \leq a \leq 10$ with the following property: there exist integers $p$ and $q$ such that $p, q, p^{2}+a$ and $q^{2}+a$ are all distinct prime numbers. | 20 | Odd $a$ fail for parity reasons and $a \equiv 2(\bmod 3)$ fail for $\bmod 3$ reasons. This leaves $a \in\{4,6,10\}$. It is easy to construct $p$ and $q$ for each of these, take $(p, q)=(3,5),(5,11),(3,7)$, respectively. |
There are 42 stepping stones in a pond, arranged along a circle. You are standing on one of the stones. You would like to jump among the stones so that you move counterclockwise by either 1 stone or 7 stones at each jump. Moreover, you would like to do this in such a way that you visit each stone (except for the starti... | 63 | Number the stones $0,1, \ldots, 41$, treating the numbers as values modulo 42, and let $r_{n}$ be the length of your jump from stone $n$. If you jump from stone $n$ to $n+7$, then you cannot jump from stone $n+6$ to $n+7$ and so must jump from $n+6$ to $n+13$. That is, if $r_{n}=7$, then $r_{n+6}=7$ also. It follows th... |
How many nonempty subsets of $\{1,2,3, \ldots, 12\}$ have the property that the sum of the largest element and the smallest element is 13? | 1365 | If $a$ is the smallest element of such a set, then $13-a$ is the largest element, and for the remaining elements we may choose any (or none) of the $12-2 a$ elements $a+1, a+2, \ldots,(13-a)-1$. Thus there are $2^{12-2 a}$ such sets whose smallest element is $a$. Also, $13-a \geq a$ clearly implies $a<7$. Summing over ... |
If the system of equations $$\begin{aligned} & |x+y|=99 \\ & |x-y|=c \end{aligned}$$ has exactly two real solutions $(x, y)$, find the value of $c$. | 0 | If $c<0$, there are no solutions. If $c>0$ then we have four possible systems of linear equations given by $x+y= \pm 99, x-y= \pm c$, giving four solutions $(x, y)$. So we must have $c=0$, and then we do get two solutions ( $x=y$, so they must both equal $\pm 99 / 2$ ). |
Let $A=\{a_{1}, b_{1}, a_{2}, b_{2}, \ldots, a_{10}, b_{10}\}$, and consider the 2-configuration $C$ consisting of \( \{a_{i}, b_{i}\} \) for all \( 1 \leq i \leq 10, \{a_{i}, a_{i+1}\} \) for all \( 1 \leq i \leq 9 \), and \( \{b_{i}, b_{i+1}\} \) for all \( 1 \leq i \leq 9 \). Find the number of subsets of $C$ that a... | 89 | Let \( A_{n}=\{a_{1}, b_{1}, a_{2}, b_{2}, \ldots, a_{n}, b_{n}\} \) for \( n \geq 1 \), and consider the 2-configuration \( C_{n} \) consisting of \( \{a_{i}, b_{i}\} \) for all \( 1 \leq i \leq n, \{a_{i}, a_{i+1}\} \) for all \( 1 \leq i \leq n-1 \), and \( \{b_{i}, b_{i+1}\} \) for all \( 1 \leq i \leq n-1 \). Let ... |
For each positive integer $n$ and non-negative integer $k$, define $W(n, k)$ recursively by $$ W(n, k)= \begin{cases}n^{n} & k=0 \\ W(W(n, k-1), k-1) & k>0\end{cases} $$ Find the last three digits in the decimal representation of $W(555,2)$. | 875 | For any $n$, we have $$ W(n, 1)=W(W(n, 0), 0)=\left(n^{n}\right)^{n^{n}}=n^{n^{n+1}} $$ Thus, $$ W(555,1)=555^{555^{556}} $$ Let $N=W(555,1)$ for brevity, and note that $N \equiv 0(\bmod 125)$, and $N \equiv 3(\bmod 8)$. Then, $$ W(555,2)=W(N, 1)=N^{N^{N+1}} $$ is $0(\bmod 125)$ and $3(\bmod 8)$. From this we can concl... |
There are 5 students on a team for a math competition. The math competition has 5 subject tests. Each student on the team must choose 2 distinct tests, and each test must be taken by exactly two people. In how many ways can this be done? | 2040 | We can model the situation as a bipartite graph on 10 vertices, with 5 nodes representing the students and the other 5 representing the tests. We now simply want to count the number of bipartite graphs on these two sets such that there are two edges incident on each vertex. Notice that in such a graph, we can start at ... |
How many functions $f:\{1,2,3,4,5\} \rightarrow\{1,2,3,4,5\}$ satisfy $f(f(x))=f(x)$ for all $x \in\{1,2,3,4,5\}$? | 196 | A fixed point of a function $f$ is an element $a$ such that $f(a)=a$. The condition is equivalent to the property that $f$ maps every number to a fixed point. Counting by the number of fixed points of $f$, the total number of such functions is $$\begin{aligned} \sum_{k=1}^{5}\binom{5}{k} k^{5-k} & =1 \cdot\left(5^{0}\r... |
Let $A=\{V, W, X, Y, Z, v, w, x, y, z\}$. Find the number of subsets of the 2-configuration \( \{\{V, W\}, \{W, X\}, \{X, Y\}, \{Y, Z\}, \{Z, V\}, \{v, x\}, \{v, y\}, \{w, y\}, \{w, z\}, \{x, z\}, \{V, v\}, \{W, w\}, \{X, x\}, \{Y, y\}, \{Z, z\}\} \) that are consistent of order 1. | 6 | No more than two of the pairs \( \{v, x\}, \{v, y\}, \{w, y\}, \{w, z\}, \{x, z\} \) may be included in a 2-configuration of order 1, since otherwise at least one of \( v, w, x, y, z \) would occur more than once. If exactly one is included, say \( \{v, x\} \), then \( w, y, z \) must be paired with \( W, Y, Z \), resp... |
Eli, Joy, Paul, and Sam want to form a company; the company will have 16 shares to split among the 4 people. The following constraints are imposed: - Every person must get a positive integer number of shares, and all 16 shares must be given out. - No one person can have more shares than the other three people combined.... | 315 | We are finding the number of integer solutions to $a+b+c+d=16$ with $1 \leq a, b, c, d \leq 8$. We count the number of solutions to $a+b+c+d=16$ over positive integers, and subtract the number of solutions in which at least one variable is larger than 8. If at least one variable is larger than 8, exactly one of the var... |
A $4 \times 4$ window is made out of 16 square windowpanes. How many ways are there to stain each of the windowpanes, red, pink, or magenta, such that each windowpane is the same color as exactly two of its neighbors? | 24 | For the purpose of explaining this solution, let's label the squares as 11121314 21222324 31323334 41424344. Note that since the corner squares $11,14,41,44$ each only have two neighbors, each corner square is the same color as both of its neighbors. This corner square constraint heavily limits the possible colorings. ... |
Almondine has a bag with $N$ balls, each of which is red, white, or blue. If Almondine picks three balls from the bag without replacement, the probability that she picks one ball of each color is larger than 23 percent. Compute the largest possible value of $\left\lfloor\frac{N}{3}\right\rfloor$. | 29 | If $k=\left\lfloor\frac{N}{3}\right\rfloor$, then the maximum possible probability is $\frac{6 k^{3}}{(3 k)(3 k-1)(3 k-2)}$. with equality when there are $k$ balls of each of the three colors. Going from $3 k \rightarrow 3 k+1$ replaces $\frac{k}{3 k-2} \rightarrow \frac{k+1}{3 k+1}$, which is smaller, and going from $... |
Let $s(n)$ denote the number of 1's in the binary representation of $n$. Compute $$\frac{1}{255} \sum_{0 \leq n<16} 2^{n}(-1)^{s(n)}$$ | 45 | Notice that if $n<8,(-1)^{s(n)}=(-1) \cdot(-1)^{s(n+8)}$ so the sum becomes $\frac{1}{255}\left(1-2^{8}\right) \sum_{0 \leq n<8} 2^{n}(-1)^{s(n)}=$ 45 . |
The squares of a $3 \times 3$ grid are filled with positive integers such that 1 is the label of the upperleftmost square, 2009 is the label of the lower-rightmost square, and the label of each square divides the one directly to the right of it and the one directly below it. How many such labelings are possible? | 2448 | We factor 2009 as $7^{2} \cdot 41$ and place the 41 's and the 7 's in the squares separately. The number of ways to fill the grid with 1's and 41 's so that the divisibility property is satisfied is equal to the number of nondecreasing sequences $a_{1}, a_{2}, a_{3}$ where each $a_{i} \in\{0,1,2,3\}$ and the sequence ... |
How many times does the letter "e" occur in all problem statements in this year's HMMT February competition? | 1661 | It is possible to arrive at a good estimate using Fermi estimation. See http: //en.wikipedia.org/wiki/Fermi_problem for more details. For example, there are 76 problems on the HMMT this year. You might guess that the average number of words in a problem is approximately 40, and the average number of letters in a word i... |
Six distinguishable players are participating in a tennis tournament. Each player plays one match of tennis against every other player. There are no ties in this tournament; each tennis match results in a win for one player and a loss for the other. Suppose that whenever $A$ and $B$ are players in the tournament such t... | 2048 | We first group the players by wins, so let $G_{1}$ be the set of all players with the most wins, $G_{2}$ be the set of all players with the second most wins, $\ldots, G_{n}$ be the set of all players with the least wins. By the condition in the problem, everyone in group $G_{i}$ must beat everyone in group $G_{j}$ for ... |
Let $$ A=\lim _{n \rightarrow \infty} \sum_{i=0}^{2016}(-1)^{i} \cdot \frac{\binom{n}{i}\binom{n}{i+2}}{\binom{n}{i+1}^{2}} $$ Find the largest integer less than or equal to $\frac{1}{A}$. | 1 | Note $$ \sum_{i=0}^{2016}(-1)^{i} \cdot \frac{\binom{n}{i}\binom{n}{i+2}}{\binom{n}{i+1}^{2}}=\sum_{i=0}^{2016}(-1)^{i} \cdot \frac{(i+1)(n-i-1)}{(i+2)(n-i)} $$ So $$ \lim _{n \rightarrow \infty} \sum_{i=0}^{2016}(-1)^{i} \cdot \frac{\binom{n}{i}\binom{n}{i+2}}{\binom{n}{i+1}^{2}}=\sum_{i=0}^{2016}(-1)^{i} \cdot \frac{... |
How many sequences of 5 positive integers $(a, b, c, d, e)$ satisfy $a b c d e \leq a+b+c+d+e \leq 10$? | 116 | We count based on how many 1's the sequence contains. If $a=b=c=d=e=1$ then this gives us 1 possibility. If $a=b=c=d=1$ and $e \neq 1$, $e$ can be $2,3,4,5,6$. Each such sequence $(1,1,1,1, e)$ can be arranged in 5 different ways, for a total of $5 \cdot 5=25$ ways in this case. If three of the numbers are 1 , the last... |
Find the number of triples of sets $(A, B, C)$ such that: (a) $A, B, C \subseteq\{1,2,3, \ldots, 8\}$. (b) $|A \cap B|=|B \cap C|=|C \cap A|=2$. (c) $|A|=|B|=|C|=4$. Here, $|S|$ denotes the number of elements in the set $S$. | 45360 | We consider the sets drawn in a Venn diagram. Note that each element that is in at least one of the subsets lies in these seven possible spaces. We split by casework, with the cases based on $N=\left|R_{7}\right|=|A \cap B \cap C|$. Case 1: $N=2$ Because we are given that $\left|R_{4}\right|+N=\left|R_{5}\right|+N=\lef... |
An up-right path from $(a, b) \in \mathbb{R}^{2}$ to $(c, d) \in \mathbb{R}^{2}$ is a finite sequence $\left(x_{1}, y_{1}\right), \ldots,\left(x_{k}, y_{k}\right)$ of points in $\mathbb{R}^{2}$ such that $(a, b)=\left(x_{1}, y_{1}\right),(c, d)=\left(x_{k}, y_{k}\right)$, and for each $1 \leq i<k$ we have that either $... | 1750 | The number of up-right paths from $(0,0)$ to $(4,4)$ is $\binom{8}{4}$ because any such upright path is identical to a sequence of 4 U's and 4 R's, where $U$ corresponds to a step upwards and R corresponds to a step rightwards. Therefore, the total number of pairs of (possibly intersecting) up-right paths from $(0,0)$ ... |
(Lucas Numbers) The Lucas numbers are defined by $L_{0}=2, L_{1}=1$, and $L_{n+2}=L_{n+1}+L_{n}$ for every $n \geq 0$. There are $N$ integers $1 \leq n \leq 2016$ such that $L_{n}$ contains the digit 1 . Estimate $N$. | 1984 | ```
Answer: 1984
lucas_ones n = length . filter (elem '1') $ take (n + 1) lucas_strs
where
lucas = 2 : 1 : zipWith (+) lucas (tail lucas)
lucas_strs = map show lucas
main = putStrLn . show $ lucas_ones 2016
``` |
The integers $1,2, \ldots, 64$ are written in the squares of a $8 \times 8$ chess board, such that for each $1 \leq i<64$, the numbers $i$ and $i+1$ are in squares that share an edge. What is the largest possible sum that can appear along one of the diagonals? | 432 | Our answer is $26+52+54+56+58+60+62+64$. One possible configuration: WLOG, we seek to maximize the sum of the numbers on the main diagonal (top left to bottom right). If we color the squares in a checker-board pattern and use the fact that $a$ and $a+1$ lie on different colored squares, we notice that all numbers appea... |
Let $S$ be the set of lattice points inside the circle $x^{2}+y^{2}=11$. Let $M$ be the greatest area of any triangle with vertices in $S$. How many triangles with vertices in $S$ have area $M$? | 16 | The boundary of the convex hull of $S$ consists of points with $(x, y)$ or $(y, x)=(0, \pm 3)$, $( \pm 1, \pm 3)$, and $( \pm 2, \pm 2)$. For any triangle $T$ with vertices in $S$, we can increase its area by moving a vertex not on the boundary to some point on the boundary. Thus, if $T$ has area $M$, its vertices are ... |
How many ways can one fill a $3 \times 3$ square grid with nonnegative integers such that no nonzero integer appears more than once in the same row or column and the sum of the numbers in every row and column equals 7 ? | 216 | In what ways could we potentially fill a single row? The only possibilities are if it contains the numbers $(0,0,7)$ or $(0,1,6)$ or $(0,2,5)$ or $(0,3,4)$ or $(1,2,4)$. Notice that if we write these numbers in binary, in any choices for how to fill the row, there will be exactly one number with a 1 in its rightmost di... |
Let $\Delta A_{1} B_{1} C$ be a triangle with $\angle A_{1} B_{1} C=90^{\circ}$ and $\frac{C A_{1}}{C B_{1}}=\sqrt{5}+2$. For any $i \geq 2$, define $A_{i}$ to be the point on the line $A_{1} C$ such that $A_{i} B_{i-1} \perp A_{1} C$ and define $B_{i}$ to be the point on the line $B_{1} C$ such that $A_{i} B_{i} \perp... | 4030 | We claim that $\Gamma_{2}$ is the incircle of $\triangle B_{1} A_{2} C$. This is because $\triangle B_{1} A_{2} C$ is similar to $A_{1} B_{1} C$ with dilation factor $\sqrt{5}-2$, and by simple trigonometry, one can prove that $\Gamma_{2}$ is similar to $\Gamma_{1}$ with the same dilation factor. By similarities, we ca... |
How many ways, without taking order into consideration, can 2002 be expressed as the sum of 3 positive integers (for instance, $1000+1000+2$ and $1000+2+1000$ are considered to be the same way)? | 334000 | Call the three numbers that sum to $2002 A, B$, and $C$. In order to prevent redundancy, we will consider only cases where $A \leq B \leq C$. Then $A$ can range from 1 to 667, inclusive. For odd $A$, there are $1000-\frac{3(A-1)}{2}$ possible values for $B$. For each choice of $A$ and $B$, there can only be one possibl... |
Farmer Bill's 1000 animals - ducks, cows, and rabbits - are standing in a circle. In order to feel safe, every duck must either be standing next to at least one cow or between two rabbits. If there are 600 ducks, what is the least number of cows there can be for this to be possible? | 201 | Suppose Bill has $r$ rabbits and $c$ cows. At most $r-1$ ducks can be between two rabbits: each rabbit can serve up to two such ducks, so at most $2 r / 2=r$ ducks will each be served by two rabbits, but we cannot have equality, since this would require alternating between rabbits and ducks all the way around the circl... |
For a positive integer $N$, we color the positive divisors of $N$ (including 1 and $N$ ) with four colors. A coloring is called multichromatic if whenever $a, b$ and $\operatorname{gcd}(a, b)$ are pairwise distinct divisors of $N$, then they have pairwise distinct colors. What is the maximum possible number of multichr... | 192 | First, we show that $N$ cannot have three distinct prime divisors. For the sake of contradiction, suppose $p q r \mid N$ for three distinct primes $p, q, r$. Then by the problem statement, $(p, q, 1),(p, r, 1)$, and $(q, r, 1)$ have three distinct colors, so $(p, q, r, 1)$ has four distinct colors. In addition, $(p q, ... |
A certain cafeteria serves ham and cheese sandwiches, ham and tomato sandwiches, and tomato and cheese sandwiches. It is common for one meal to include multiple types of sandwiches. On a certain day, it was found that 80 customers had meals which contained both ham and cheese; 90 had meals containing both ham and tomat... | 230 | 230. Everyone who ate just one sandwich is included in exactly one of the first three counts, while everyone who ate more than one sandwich is included in all four counts. Thus, to count each customer exactly once, we must add the first three figures and subtract the fourth twice: $80+90+100-2 \cdot 20=230$. |
Alice Czarina is bored and is playing a game with a pile of rocks. The pile initially contains 2015 rocks. At each round, if the pile has $N$ rocks, she removes $k$ of them, where $1 \leq k \leq N$, with each possible $k$ having equal probability. Alice Czarina continues until there are no more rocks in the pile. Let $... | -501 | We claim that $p=\frac{1}{5} \frac{6}{10} \frac{11}{15} \frac{16}{20} \cdots \frac{2006}{2010} \frac{2011}{2015}$. Let $p_{n}$ be the probability that, starting with $n$ rocks, the number of rocks left after each round is a multiple of 5. Indeed, using recursions we have $$p_{5 k}=\frac{p_{5 k-5}+p_{5 k-10}+\cdots+p_{5... |
Determine the number of triples $0 \leq k, m, n \leq 100$ of integers such that $$ 2^{m} n-2^{n} m=2^{k} $$ | 22 | First consider when $n \geq m$, so let $n=m+d$ where $d \geq 0$. Then we have $2^{m}\left(m+d-2^{d} m\right)=$ $2^{m}\left(m\left(1-2^{d}\right)+d\right)$, which is non-positive unless $m=0$. So our first set of solutions is $m=0, n=2^{j}$. Now, we can assume that $m>n$, so let $m=n+d$ where $d>0$. Rewrite $2^{m} n-2^{... |
For positive integers $a, b, a \uparrow \uparrow b$ is defined as follows: $a \uparrow \uparrow 1=a$, and $a \uparrow \uparrow b=a^{a \uparrow \uparrow(b-1)}$ if $b>1$. Find the smallest positive integer $n$ for which there exists a positive integer $a$ such that $a \uparrow \uparrow 6 \not \equiv a \uparrow \uparrow 7... | 283 | We see that the smallest such $n$ must be a prime power, because if two numbers are distinct mod $n$, they must be distinct mod at least one of the prime powers that divide $n$. For $k \geq 2$, if $a \uparrow \uparrow k$ and $a \uparrow \uparrow(k+1)$ are distinct $\bmod p^{r}$, then $a \uparrow \uparrow(k-1)$ and $a \... |
How many equilateral hexagons of side length $\sqrt{13}$ have one vertex at $(0,0)$ and the other five vertices at lattice points? (A lattice point is a point whose Cartesian coordinates are both integers. A hexagon may be concave but not self-intersecting.) | 216 | We perform casework on the point three vertices away from $(0,0)$. By inspection, that point can be $( \pm 8, \pm 3),( \pm 7, \pm 2),( \pm 4, \pm 3),( \pm 3, \pm 2),( \pm 2, \pm 1)$ or their reflections across the line $y=x$. The cases are as follows: If the third vertex is at any of $( \pm 8, \pm 3)$ or $( \pm 3, \pm ... |
All subscripts in this problem are to be considered modulo 6 , that means for example that $\omega_{7}$ is the same as $\omega_{1}$. Let $\omega_{1}, \ldots \omega_{6}$ be circles of radius $r$, whose centers lie on a regular hexagon of side length 1 . Let $P_{i}$ be the intersection of $\omega_{i}$ and $\omega_{i+1}$ ... | 5 | Consider two consecutive circles $\omega_{i}$ and $\omega_{i+1}$. Let $Q_{i}, Q_{i}^{\prime}$ be two points on $\omega_{i}$ and $Q_{i+1}, Q_{i+1}^{\prime}$ on $\omega_{i+1}$ such that $Q_{i}, P_{i}$ and $Q_{i+1}$ are colinear and also $Q_{i}^{\prime}, P_{i}$ and $Q_{i+1}^{\prime}$. Then $Q_{i} Q_{i}^{\prime}=2 \angle Q... |
A single-elimination ping-pong tournament has $2^{2013}$ players, seeded in order of ability. If the player with seed $x$ plays the player with seed $y$, then it is possible for $x$ to win if and only if $x \leq y+3$. For how many players $P$ it is possible for $P$ to win? (In each round of a single elimination tournam... | 6038 | We calculate the highest seed $n$ that can win. Below, we say that a player $x$ vicariously defeats a player $y$ if $x$ defeats $y$ directly or indirectly through some chain (i.e. $x$ defeats $x_{1}$, who defeated $x_{2}, \ldots$, who defeated $x_{n}$, who defeated $y$ for some players $\left.x_{1}, \ldots, x_{n}\right... |
We have a calculator with two buttons that displays an integer $x$. Pressing the first button replaces $x$ by $\left\lfloor\frac{x}{2}\right\rfloor$, and pressing the second button replaces $x$ by $4 x+1$. Initially, the calculator displays 0. How many integers less than or equal to 2014 can be achieved through a seque... | 233 | We consider the integers from this process written in binary. The first operation truncates the rightmost digit, while the second operation appends 01 to the right. We cannot have a number with a substring 11. For simplicity, call a string valid if it has no consecutive $1^{\prime} s$. Note that any number generated by... |
A peacock is a ten-digit positive integer that uses each digit exactly once. Compute the number of peacocks that are exactly twice another peacock. | 184320 | We begin with the following observation: Claim 1. Let $x$ be a peacock. Then, $2 x$ is a peacock if and only if: - the multiplication $x \cdot 2$ uses five carries, - each of the pairs of digits $(0,5),(1,6),(2,7),(3,8),(4,9)$ receives exactly one carry. - The leading digit is not $5,6,7,8,9$. Proof. After the multipli... |
How many ways can you mark 8 squares of an $8 \times 8$ chessboard so that no two marked squares are in the same row or column, and none of the four corner squares is marked? (Rotations and reflections are considered different.) | 21600 | In the top row, you can mark any of the 6 squares that is not a corner. In the bottom row, you can then mark any of the 5 squares that is not a corner and not in the same column as the square just marked. Then, in the second row, you have 6 choices for a square not in the same column as either of the two squares alread... |
It is known that exactly one of the three (distinguishable) musketeers stole the truffles. Each musketeer makes one statement, in which he either claims that one of the three is guilty, or claims that one of the three is innocent. It is possible for two or more of the musketeers to make the same statement. After hearin... | 99 | We divide into cases, based on the number of distinct people that statements are made about. - The statements are made about 3 distinct people. Then, since exactly one person is guilty, and because exactly one of the three lied, there are either zero statements of guilt or two statements of guilt possible; in either ca... |
One hundred people are in line to see a movie. Each person wants to sit in the front row, which contains one hundred seats, and each has a favorite seat, chosen randomly and independently. They enter the row one at a time from the far right. As they walk, if they reach their favorite seat, they sit, but to avoid steppi... | 10 | Let $S(i)$ be the favorite seat of the $i$ th person, counting from the right. Let $P(n)$ be the probability that at least $n$ people get to sit. At least $n$ people sit if and only if $S(1) \geq n, S(2) \geq n-1, \ldots, S(n) \geq 1$. This has probability: $$P(n)=\frac{100-(n-1)}{100} \cdot \frac{100-(n-2)}{100} \cdot... |
A moth starts at vertex $A$ of a certain cube and is trying to get to vertex $B$, which is opposite $A$, in five or fewer "steps," where a step consists in traveling along an edge from one vertex to another. The moth will stop as soon as it reaches $B$. How many ways can the moth achieve its objective? | 48 | Let $X, Y, Z$ be the three directions in which the moth can initially go. We can symbolize the trajectory of the moth by a sequence of stuff from $X \mathrm{~s}, Y \mathrm{~s}$, and $Z \mathrm{~s}$ in the obvious way: whenever the moth takes a step in a direction parallel or opposite to $X$, we write down $X$, and so o... |
A sequence is defined by $a_{0}=1$ and $a_{n}=2^{a_{n-1}}$ for $n \geq 1$. What is the last digit (in base 10) of $a_{15}$? | 6 | 6. Certainly $a_{13} \geq 2$, so $a_{14}$ is divisible by $2^{2}=4$. Writing $a_{14}=4 k$, we have $a_{15}=2^{4 k}=16^{k}$. But every power of 16 ends in 6, so this is the answer. |
Given a $9 \times 9$ chess board, we consider all the rectangles whose edges lie along grid lines (the board consists of 81 unit squares, and the grid lines lie on the borders of the unit squares). For each such rectangle, we put a mark in every one of the unit squares inside it. When this process is completed, how man... | 56 | 56. Consider the rectangles which contain the square in the $i$th row and $j$th column. There are $i$ possible positions for the upper edge of such a rectangle, $10-i$ for the lower edge, $j$ for the left edge, and $10-j$ for the right edge; thus we have $i(10-i) j(10-j)$ rectangles altogether, which is odd iff $i, j$ ... |
Fifteen freshmen are sitting in a circle around a table, but the course assistant (who remains standing) has made only six copies of today's handout. No freshman should get more than one handout, and any freshman who does not get one should be able to read a neighbor's. If the freshmen are distinguishable but the hando... | 125 | Suppose that you are one of the freshmen; then there's a $6 / 15$ chance that you'll get one of the handouts. We may ask, given that you do get a handout, how many ways are there to distribute the rest? We need only multiply the answer to that question by $15 / 6$ to answer the original question. Going clockwise around... |
For positive integers $x$, let $g(x)$ be the number of blocks of consecutive 1's in the binary expansion of $x$. For example, $g(19)=2$ because $19=10011_{2}$ has a block of one 1 at the beginning and a block of two 1's at the end, and $g(7)=1$ because $7=111_{2}$ only has a single block of three 1's. Compute $g(1)+g(2... | 577 | Solution 1. We prove that $g(1)+g(2)+\cdots+g\left(2^{n}\right)=1+2^{n-2}(n+1)$ for all $n \geq 1$, giving an answer of $1+2^{6} \cdot 9=577$. First note that $g\left(2^{n}\right)=1$, and that we can view $0,1, \ldots, 2^{n}-1$ as $n$-digit binary sequences by appending leading zeros as necessary. (Then $g(0)=0$.) Then... |
Compute $$\sum_{n_{60}=0}^{2} \sum_{n_{59}=0}^{n_{60}} \cdots \sum_{n_{2}=0}^{n_{3}} \sum_{n_{1}=0}^{n_{2}} \sum_{n_{0}=0}^{n_{1}} 1$$ | 1953 | The given sum counts the number of non-decreasing 61-tuples of integers $\left(n_{0}, \ldots, n_{60}\right)$ from the set $\{0,1,2\}$. Such 61-tuples are in one-to-one correspondence with strictly increasing 61-tuples of integers $\left(m_{0}, \ldots, m_{60}\right)$ from the set $\{0,1,2, \ldots, 62\}$: simply let $m_{... |
Each unit square of a $4 \times 4$ square grid is colored either red, green, or blue. Over all possible colorings of the grid, what is the maximum possible number of L-trominos that contain exactly one square of each color? | 18 | Notice that in each $2 \times 2$ square contained in the grid, we can form 4 L-trominoes. By the pigeonhole principle, some color appears twice among the four squares, and there are two trominoes which contain both. Therefore each $2 \times 2$ square contains at most 2 L-trominoes with distinct colors. Equality is achi... |
Compute the number of ways there are to assemble 2 red unit cubes and 25 white unit cubes into a $3 \times 3 \times 3$ cube such that red is visible on exactly 4 faces of the larger cube. (Rotations and reflections are considered distinct.) | 114 | We do casework on the two red unit cubes; they can either be in a corner, an edge, or the center of the face. - If they are both in a corner, they must be adjacent - for each configuration, this corresponds to an edge, of which there are 12. - If one is in the corner and the other is at an edge, we have 8 choices to pl... |
The country of HMMTLand has 8 cities. Its government decides to construct several two-way roads between pairs of distinct cities. After they finish construction, it turns out that each city can reach exactly 3 other cities via a single road, and from any pair of distinct cities, either exactly 0 or 2 other cities can b... | 875 | Let the cities be numbered $1,2,3,4,5,6,7,8$. WLOG, 1 is connected to 2,3 , and 4 . First suppose 2 and 3 are connected; then 3 and 1 share a second common neighbor, which must be 4 (as 1 is not connected to anything else). Likewise 2 and 4 are connected, and so 5, 6, 7, 8 are pairwise connected as well, so the graph c... |
Let $S=\{1,2, \ldots, 9\}$. Compute the number of functions $f: S \rightarrow S$ such that, for all $s \in S, f(f(f(s)))=s$ and $f(s)-s$ is not divisible by 3. | 288 | Since $f(f(f(s)))=s$ for all $s \in S$, each cycle in the cycle decomposition of $f$ must have length 1 or 3. Also, since $f(s) \not \equiv s \bmod 3$ for all $s \in S$, each cycle cannot contain two elements $a, b$ such that $a=b \bmod 3$. Hence each cycle has exactly three elements, one from each of residue classes m... |
Sally the snail sits on the $3 \times 24$ lattice of points $(i, j)$ for all $1 \leq i \leq 3$ and $1 \leq j \leq 24$. She wants to visit every point in the lattice exactly once. In a move, Sally can move to a point in the lattice exactly one unit away. Given that Sally starts at $(2,1)$, compute the number of possible... | 4096 | On her first turn, Sally cannot continue moving down the middle row. She must turn either to the bottom row or the top row. WLOG, she turns to the top row, and enters the cell $(3,1)$ and we will multiply by 2 later. Then, we can see that the path must finish in $(1,1)$. So, we will follow these two branches of the pat... |
We have a polyhedron such that an ant can walk from one vertex to another, traveling only along edges, and traversing every edge exactly once. What is the smallest possible total number of vertices, edges, and faces of this polyhedron? | 20 | This is obtainable by construction. Consider two tetrahedrons glued along a face; this gives us 5 vertices, 9 edges, and 6 faces, for a total of 20 , and one readily checks that the required Eulerian path exists. Now, to see that we cannot do better, first notice that the number $v$ of vertices is at least 5 , since ot... |
Compute the number of ways to fill each cell in a $8 \times 8$ square grid with one of the letters $H, M$, or $T$ such that every $2 \times 2$ square in the grid contains the letters $H, M, M, T$ in some order. | 1076 | We solve the problem for general $n \times n$ boards where $n$ even. Let the cell in the $i$-th row and $j$-th column be $a_{i, j}$. Claim: In any valid configuration, either the rows (or columns) alternate between ( $\cdots, H, M, H, M, \cdots)$ and $(\cdots, T, M, T, M, \cdots)$ or $(\cdots, M, M, M, M, \cdots)$ and ... |
A dot is marked at each vertex of a triangle $A B C$. Then, 2,3 , and 7 more dots are marked on the sides $A B, B C$, and $C A$, respectively. How many triangles have their vertices at these dots? | 357 | Altogether there are $3+2+3+7=15$ dots, and thus $\binom{15}{3}=455$ combinations of 3 dots. Of these combinations, $\binom{2+2}{3}+\binom{2+3}{3}+\binom{2+7}{3}=4+10+84=98$ do not give triangles because they are collinear (the rest do give triangles). Thus $455-98=357$ different triangles can be formed. |
Let $f: \mathbb{N} \rightarrow \mathbb{N}$ be a strictly increasing function such that $f(1)=1$ and $f(2n)f(2n+1)=9f(n)^{2}+3f(n)$ for all $n \in \mathbb{N}$. Compute $f(137)$. | 2215 | Plugging in $n=1$ gives $f(2)f(3)=12$, therefore $(f(2), f(3))=(2,6)$ or $(3,4)$. However, the former implies $$f(4)f(5) \geq (6+1)(6+2)>42=9 \cdot 2^{2}+3 \cdot 2$$ which is impossible; therefore $f(2)=3$ and $f(3)=4$. We now show by induction with step size 2 that $f(2n)=3f(n)$ and $f(2n+1)=3f(n)+1$ for all $n$; the ... |
Let $f(n)$ be the largest prime factor of $n$. Estimate $$N=\left\lfloor 10^{4} \cdot \frac{\sum_{n=2}^{10^{6}} f\left(n^{2}-1\right)}{\sum_{n=2}^{10^{6}} f(n)}\right\rfloor$$ An estimate of $E$ will receive $\max \left(0,\left\lfloor 20-20\left(\frac{|E-N|}{10^{3}}\right)^{1 / 3}\right\rfloor\right)$ points. | 18215 | We remark that $$f\left(n^{2}-1\right)=\max (f(n-1), f(n+1))$$ Let $X$ be a random variable that evaluates to $f(n)$ for a randomly chosen $2 \leq n \leq 10^{6}$; we essentially want to estimate $$\frac{\mathbb{E}\left[\max \left(X_{1}, X_{2}\right)\right]}{\mathbb{E}\left[X_{3}\right]}$$ where $X_{i}$ denotes a variab... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.