Dataset Viewer
id
string | answer
string | question
string | solution
string |
---|---|---|---|
1 | 103 | Compute the sum of the positive divisors (including $1$) of $9!$ that have units digit $1$. | The prime factorization of $9!$ is $2^7 \cdot 3^4 \cdot 5 \cdot 7$. Every divisor of $9!$ has prime factorization $2^a \cdot 3^b \cdot 5^c \cdot 7^d$, where $0 \le a \le 7$, $0 \le b \le 4$, $0 \le c \le 1$, and $0 \le d \le 1$. If the divisor has units digit 1, it cannot be divisible by 2 or 5, so $a=c=0$. Now take cases on the value of $d$: If $d=0$, then the divisor is $3^b$ for some $0 \le b \le 4$. The possible divisors are 1, 3, 9, 27, and 81, of which 1 and 81 work. If $d=1$, then the divisor is $3^b \cdot 7$ for some $0 \le b \le 4$. The possible divisors are then $7, 3 \cdot 7, 9 \cdot 7, 27 \cdot 7$, and $81 \cdot 7$. Of these, only $3 \cdot 7 = 21$ works. The answer is $1+21+81 = \boxed{103}$. |
2 | 3375 | Mark writes the expression $\sqrt{\underline{a b c d}}$ on the board, where $\underline{a b c d}$ is a four-digit number and $a \neq 0$. Derek, a toddler, decides to move the $a$, changing Mark's expression to $a \sqrt{\underline{b c d}}$. Surprisingly, these two expressions are equal. Compute the only possible four-digit number $\underline{a b c d}$. | Let $x = \underline{bcd}$. Then, we rewrite the given condition $\sqrt{abcd} = a\sqrt{bcd}$ as $$ 1000a + x = a^2x, $$ which simplifies as $$ (a^2 - 1)x = 1000a. $$ In particular, $a^2 - 1$ divides $1000a$. Since $\gcd(a^2-1, a) = 1$, it follows that $a^2 - 1 \mid 1000$. The only $a \in \{1, 2, \dots, 9\}$ that satisfies this is $a=3$. Then $8x = 3000$, so $x=375$. Thus $\underline{abcd} = \boxed{3375}$. |
3 | \frac{1}{576} | Given that $x, y$, and $z$ are positive real numbers such that
$$
x^{\log _{2}(y z)}=2^{8} \cdot 3^{4}, \quad y^{\log _{2}(z x)}=2^{9} \cdot 3^{6}, \quad \text { and } \quad z^{\log _{2}(x y)}=2^{5} \cdot 3^{10}
$$
compute the smallest possible value of $x y z$. | Let $k = \log_2 3$ for brevity. Taking the base-2 log of each equation gives $(\log_2 x)(\log_2 y + \log_2 z) = 8 + 4k, \; (\log_2 y)(\log_2 z + \log_2 x) = 9 + 6k, \; (\log_2 z)(\log_2 x + \log_2 y) = 5 + 10k.$ Adding the first two equations and subtracting the third yields $2 \log_2 x \log_2 y = 12$, so $\log_2 x \log_2 y = 6$. Similarly, we get $\log_2 x \log_2 y = 6, \; \log_2 y \log_2 z = 3 + 6k, \; \log_2 z \log_2 x = 2 + 4k.$ Multiplying the first two equations and dividing by the third yields $(\log_2 y)^2 = 9$, so $\log_2 y = \pm 3$. Then, the first and last equations tell us $\log_2 x = \pm 2$ and $\log_2 z = \pm(1+2k)$, with all signs matching. Thus $\log_2 x + \log_2 y + \log_2 z = \pm(3+2+(1+2k)) = \pm(6+2k)$, so $xyz = 2^{\pm(6+2k)} = 2^6 \cdot 3^2 \quad \text{or} \quad 2^{-6} \cdot 3^{-2}.$ Clearly, the smallest solution is $2^{-6} \cdot 3^{-2} = \boxed{\frac{1}{576}}$. |
4 | -984 | Let $\lfloor z\rfloor$ denote the greatest integer less than or equal to $z$. Compute
$$
\sum_{j=-1000}^{1000}\left\lfloor\frac{2025}{j+0.5}\right\rfloor
$$ | The key idea is to pair up the terms $\lfloor \frac{2025}{-x} \rfloor$ and $\lfloor \frac{2025}{x} \rfloor$. There are 1000 such pairs and one lone term, $\lfloor \frac{2025}{1000.5} \rfloor = 2$. Thus, $$ \sum_{j=-1000}^{1000} \left\lfloor \frac{2025}{j+0.5} \right\rfloor = 2 + \sum_{x \in \{0.5, 1.5, \dots, 999.5\}} \left( \left\lfloor \frac{2025}{x} \right\rfloor + \left\lfloor \frac{2025}{-x} \right\rfloor \right). $$ We note that $$ \lfloor a \rfloor + \lfloor -a \rfloor = \begin{cases} 0 & \text{if } a \text{ is an integer.} \\ -1 & \text{otherwise.} \end{cases} $$ Therefore, $$ \left\lfloor \frac{2025}{x} \right\rfloor + \left\lfloor \frac{2025}{-x} \right\rfloor = \begin{cases} 0 & \text{if } 2x \text{ divides } 4050 \\ -1 & \text{otherwise.} \end{cases} $$ As $x$ ranges in the set $\{0.5, 1.5, 2.5, \dots, 999.5\}$, $2x$ ranges in the set $\{1, 3, 5, \dots, 1999\}$. This set includes all 15 odd divisors of $4050$ except for $2025$. Thus, there are 14 values of $x$ for which $\lfloor \frac{2025}{x} \rfloor + \lfloor \frac{2025}{-x} \rfloor$ evaluates to 0, and the remaining $1000 - 14 = 986$ values of $x$ make it evaluate to $-1$. Therefore, $$ \sum_{j=-1000}^{1000} \left\lfloor \frac{2025}{j+0.5} \right\rfloor = 2 + \sum_{x \in \{0.5, 1.5, \dots, 999.5\}} \left( \left\lfloor \frac{2025}{x} \right\rfloor + \left\lfloor \frac{2025}{-x} \right\rfloor \right) = 2 + 986 \cdot (-1) = \boxed{-984}. $$ |
5 | 890 | Let $\mathcal{S}$ be the set of all nonconstant monic polynomials $P$ with integer coefficients satisfying $P(\sqrt{3}+\sqrt{2})=$ $P(\sqrt{3}-\sqrt{2})$. If $Q$ is an element of $\mathcal{S}$ with minimal degree, compute the only possible value of $Q(10)-Q(0)$. | First, note that the polynomial $x^4 - 10x^2 + 1$ has both $\sqrt{3}+\sqrt{2}$ and $\sqrt{3}-\sqrt{2}$ as roots. It suffices to check whether a polynomial of degree at most 3 belongs in $S$. Suppose $f(x) = ax^3 + bx^2 + cx + d \in S$. We compute $(\sqrt{3}+\sqrt{2})^3 - (\sqrt{3}-\sqrt{2})^3 = 22\sqrt{2}; \; (\sqrt{3}+\sqrt{2})^2 - (\sqrt{3}-\sqrt{2})^2 = 4\sqrt{6}; \; (\sqrt{3}+\sqrt{2})^1 - (\sqrt{3}-\sqrt{2})^1 = 2\sqrt{2},$ so we get that $f(\sqrt{3}+\sqrt{2}) - f(\sqrt{3}-\sqrt{2}) = (22\sqrt{2})a + (4\sqrt{6})b + (2\sqrt{2})c$. By resolving linear dependencies, it's clear that $b=0$ and $c=-11a$. It follows that if $f$ is not the zero polynomial, it must be cubic. It is then clear that $f(x) = x^3 - 11x + d$ has minimal degree in $S$, and thus $Q(10) - Q(0) = f(10) - f(0) = \boxed{890}$. |
6 | \frac{1311}{2017} | Let $r$ be the remainder when $2017^{2025!}-1$ is divided by 2025!. Compute $\frac{r}{2025!}$. (Note that $2017$ is prime.) | Solution: Let $N = 2017^{2025!}$. Let $p$ be a prime dividing $2025!$ other than $2017$. Let $p^k$ be the largest power of $p$ dividing $2025!$. Clearly, $\phi(p^k) = (p-1)p^{k-1}$ divides $2025!$ and $\gcd(2017, p^k) = 1$, so by Euler's Totient Theorem, $$ N \equiv 1 \pmod{p^k}. $$ Repeating for all such primes $p$, we obtain $$ N \equiv 1 \pmod{2025!/2017}. $$ Therefore, $\frac{2025!}{2017} \mid N-1$, so $r = \frac{N-1}{2025!/2017} s$ for some $0 \le s < 2017$. Also, since $N \equiv 0 \pmod{2017}$, we have $r = \frac{2025!}{2017} s \equiv -1 \pmod{2017}$. By Wilson's, $$ \frac{2025!}{2017} \equiv 2016!(2018)(2019)\dots(2025) \equiv -8! \equiv 20 \pmod{2017}. $$ Therefore, $s$ is negative the inverse of $20 \pmod{2017}$, which is $1311$. Our answer is $$ \frac{r}{2025!} = \frac{(2025!/2017)(1311)}{2025!} = \boxed{\frac{1311}{2017}}. $$ |
7 | \frac{9 \sqrt{23}}{23} | There exists a unique triple $(a, b, c)$ of positive real numbers that satisfies the equations
$$
2\left(a^{2}+1\right)=3\left(b^{2}+1\right)=4\left(c^{2}+1\right) \quad \text { and } \quad a b+b c+c a=1
$$
Compute $a+b+c$. | Solution 1: The crux of this problem is to apply the trigonometric substitutions $a = \cot \alpha$, $b = \cot \beta$, and $c = \cot \gamma$, with $0 < \alpha, \beta, \gamma < \pi/2$. Then, the given equations translate to $$ \frac{2}{\sin^2 \alpha} = \frac{3}{\sin^2 \beta} = \frac{4}{\sin^2 \gamma} \quad \text{and} \quad \cot \alpha \cot \beta + \cot \beta \cot \gamma + \cot \gamma \cot \alpha = 1. $$ From the second equation, we get $$ \cot \gamma = \frac{1 - \cot \alpha \cot \beta}{\cot \alpha + \cot \beta} = \cot(\alpha + \beta). $$ Since $\alpha, \beta,$ and $\gamma$ all between $0$ and $\pi/2$, we discover that $$ \alpha + \beta + \gamma = \pi. $$ Let $\triangle ABC$ be the (acute) triangle with side lengths $BC = \sqrt{2}$, $CA = \sqrt{3}$, and $AB = \sqrt{4}$. By Law of Sines, setting $\alpha = \angle A$, $\beta = \angle B$, and $\gamma = \angle C$ will satisfy both equations. Thus, Law of Cosines gives $$ \cos \alpha = \frac{3 + 4 - 2}{2 \cdot \sqrt{3} \cdot \sqrt{4}} = \frac{5}{\sqrt{48}} \implies a = \cot \alpha = \frac{5}{\sqrt{23}}. $$ Similar calculations give $b = \frac{3}{\sqrt{23}}$ and $c = \frac{1}{\sqrt{23}}$, so the answer is $a+b+c = \boxed{\frac{9}{\sqrt{23}}}.$ |
8 | 1-\frac{2}{\pi} | Define $\operatorname{sgn}(x)$ to be $1$ when $x$ is positive, $-1$ when $x$ is negative, and $0$ when $x$ is $0$. Compute
$$
\sum_{n=1}^{\infty} \frac{\operatorname{sgn}\left(\sin \left(2^{n}\right)\right)}{2^{n}}
$$
(The arguments to sin are in radians.) | Note that each of following is equivalent to the next. $sgn(\sin(2^n)) = +1$. $0 < 2^n \pmod{2\pi} < \pi$. $0 < 2^n/\pi \pmod 2 < 1$. $The $n$th digit after the decimal point in the binary representation of $\frac{1}{\pi}$ is 0. Similarly, $sgn(\sin(2^n)) = -1$ if and only if the $n$-th digit after the decimal point in the binary representation of $\frac{1}{\pi}$ is 1. In particular, if $a_n$ is the $n$-th digit, then $sgn(\sin(2^n)) = 1-2a_n$. Thus, the desired sum is $$ \sum_{n=1}^\infty \frac{sgn(\sin(2^n))}{2^n} = \sum_{n=1}^\infty \frac{1-2a_n}{2^n} = \left(\sum_{n=1}^\infty \frac{1}{2^n}\right) - 2\left(\sum_{n=1}^\infty \frac{a_n}{2^n}\right) = 1 - \frac{2}{\pi} = \boxed{1-\frac{2}{\pi}}. $$ |
9 | 1037 | Let $f$ be the unique polynomial of degree at most $2026$ such that for all $n \in\{1,2,3, \ldots, 2027\}$,
$$
f(n)= \begin{cases}1 & \text { if } n \text { is a perfect square } \\ 0 & \text { otherwise }\end{cases}
$$
Suppose that $\frac{a}{b}$ is the coefficient of $x^{2025}$ in $f$, where $a$ and $b$ are integers such that $\operatorname{gcd}(a, b)=1$. Compute the unique integer $r$ between $0$ and $2026$ (inclusive) such that $a-r b$ is divisible by $2027$. (Note that $2027$ is prime.) | Let $p=2027$. We work in $\mathbb{F}_p$ for the entire solution. Recall the well-known fact that $$ \sum_{x \in \mathbb{F}_p} x^k = \begin{cases} -1 & \text{if } k>0 \text{ and } p-1 \mid k, \\ 0 & \text{otherwise,} \end{cases} $$ assuming $0^0=1$. In particular, for any polynomial $g(x) = b_0 + b_1x + \dots + b_nx^n$, we have $$ -\sum_{x \in \mathbb{F}_p} g(x) = b_{p-1} + b_{2(p-1)} + \dots + b_{\lfloor n/(p-1) \rfloor (p-1)}. $$ We apply this fact on $g(x) = xf(x)$. As $\deg xf(x) \le p$, the right hand side is simply the coefficient of $x^{2025}$, which is what we want. Hence, the answer is $$ -\sum_{x \in \mathbb{F}_p} xf(x) = -(1^2 + 2^2 + \dots + 45^2) = -\frac{45 \cdot 46 \cdot 91}{6} \equiv \boxed{1037} \pmod{2027}. $$ |
10 | \frac{-1+\sqrt{17}}{2}, \frac{-1-\sqrt{17}}{2} | Let $a, b$, and $c$ be pairwise distinct complex numbers such that
$$
a^{2}=b+6, \quad b^{2}=c+6, \quad \text { and } \quad c^{2}=a+6
$$
Compute the two possible values of $a+b+c$. In your answer, list the two values in a comma-separated list of two valid \LaTeX expressions. | Notice that any of $a$, $b$, or $c$ being 3 or $-2$ implies $a=b=c$, which is invalid. Thus, $(a^2-9)(b^2-9)(c^2-9) = (b-3)(c-3)(a-3) \implies (a+3)(b+3)(c+3)=1; \; (a^2-4)(b^2-4)(c^2-4) = (b+2)(c+2)(a+2) \implies (a-2)(b-2)(c-2)=1.$ Therefore, 2 and $-3$ are roots of the polynomial $(x-a)(x-b)(x-c)+1$, and so there exists some $t$ such that $$(x-t)(x-2)(x+3) = (x-a)(x-b)(x-c)+1.$$ Comparing coefficients gives $a+b+c = t-1$ and $ab+bc+ca = -(t+6)$. We can then solve for $t$ by noting $a^2+b^2+c^2 = (b+6)+(c+6)+(a+6) = a+b+c+18$, so $$ ab+bc+ca = \frac{1}{2}((a+b+c)^2 - (a^2+b^2+c^2)) = \frac{1}{2}((a+b+c)^2 - (a+b+c+18)). $$ Hence, $$ -(t+6) = \frac{1}{2}((t-1)^2 - (t+17)) \implies t^2-t-4 = 0 \implies t = \frac{1 \pm \sqrt{17}}{2}. $$ Therefore $a+b+c = \boxed{\frac{-1 \pm \sqrt{17}}{2}}$ are the two possible values of $a+b+c$. |
11 | 56 | Compute the number of ways to arrange the numbers $1,2,3,4,5,6$, and $7$ around a circle such that the product of every pair of adjacent numbers on the circle is at most 20. (Rotations and reflections count as different arrangements.) | Fix the position of the number $7$. Note that the only numbers that can be next to $7$ are $1$ and $2$, so they must occupy the two slots adjacent to $7$. Now the number $6$ can only be adjacent to $1, 2,$ and $3$. As $6$ can no longer be adjacent to both $1$ and $2$, we conclude that $6$ must be adjacent to $3$ as well as either $1$ or $2$. Finally, the numbers $4$ and $5$ may be placed arbitrarily in the remaining two slots. There are $7$ choices for the number $7$'s position, $2$ ways to place $1$ and $2$ next to it, $2$ ways to place $6$ and $3$, and $2$ ways to place $4$ and $5$, giving us a total count of $7 \cdot 2 \cdot 2 \cdot 2 = \boxed{56}$. |
12 | 29 | Kevin the frog in on the bottom-left lily pad of a $3 \times 3$ grid of lily pads, and his home is at the topright lily pad. He can only jump between two lily pads which are horizontally or vertically adjacent. Compute the number of ways to remove $4$ of the lily pads so that the bottom-left and top-right lily pads both remain, but Kelvin cannot get home. | We instead count the arrangements for which Kelvin can get home. Note that at minimum, Kelvin must use $5$ lily pads to get home, leaving $4$ lily pads that are not on the path. This means that if we were to remove $4$ lily pads and Kelvin can still get home, the non-removed lily pads form a shortest path from the bottom-left to the top-right. As there are $\inom{4}{2} = 6$ of these shortest paths, our answer is $\inom{7}{4} - 6 = \boxed{29}$. |
13 | 105 | Ben has $16$ balls labeled $1,2,3, \ldots, 16$, as well as $4$ indistinguishable boxes. Two balls are \emph{neighbors} if their labels differ by $1$. Compute the number of ways for him to put $4$ balls in each box such that each ball is in the same box as at least one of its neighbors. (The order in which the balls are placed does not matter.) | Each box must either contain a single group of four consecutive balls (e.g., $5, 6, 7, 8$) or two groups of two consecutive balls (e.g., $5, 6, 9, 10$). Since all groups have even lengths, this means that $1$ and $2$ are in the same group, $3$ and $4$ are in the same group, and so on. We can think of each of these $8$ pairs of balls as an individual unit, so the answer is equal to the number of ways to put $8$ objects in $4$ indistinguishable boxes, where each box has $2$ objects without any additional restrictions. The number of ways to do this is $\frac{8!}{2^4 \cdot 4!} = \boxed{105}$. |
14 | 2304 | Sophie is at $(0,0)$ on a coordinate grid and would like to get to $(3,3)$. If Sophie is at $(x, y)$, in a single step she can move to one of $(x+1, y),(x, y+1),(x-1, y+1)$, or $(x+1, y-1)$. She cannot revisit any points along her path, and neither her $x$-coordinate nor her $y$-coordinate can ever be less than $0$ or greater than 3. Compute the number of ways for Sophie to reach $(3,3)$. | Let a lateral move refer to one which is either up or right. Then the lateral moves are the only ones which increase Sophie's sum of coordinates by $1$, while all other moves (diagonal) do not change the sum, so Kelvin must make $6$ of them, one to increase this sum from $i$ to $i+1$ for each $i \in [0, 5]$. We claim there exists a unique path corresponding to each set of $6$ lateral moves chosen in this way. Indeed, the diagonal moves allow Kelvin to get from any point on $x+y=i$ to any second point on $x+y=i$ in exactly one way. Observe that when $i \le 2$, the number of lateral moves that increase the sum of coordinates from $i$ to $i+1$ is $2(i+1)$, as is the number that increase it from $5-i$ to $6-i$. Thus the answer is $2 \cdot 4 \cdot 6 \cdot 6 \cdot 4 \cdot 2 = \boxed{2304}$. |
15 | 200 | In an $11 \times 11$ grid of cells, each pair of edge-adjacent cells is connected by a door. Karthik wants to walk a path in this grid. He can start in any cell, but he must end in the same cell he started in, and he cannot go through any door more than once (not even in opposite directions). Compute the maximum number of doors he can go through in such a path. | This is simply asking for the longest circuit in the adjacency graph of this grid. Note that this grid has $4 \cdot 9 = 36$ cells of odd degree, 9 along each side. If we color the cells with checkerboard colors so that the corners are black, then $20$ of these $36$ odd-degree cells are white. An Eulerian circuit uses an even number of doors from each cell, so at least one door from each of these cells goes unused. No door connects two white cells, so at least $20$ doors are unused, leaving at most $2 \cdot 10 \cdot 11 - 20 = \boxed{200}$.To see this is achievable, we first delete the bottom-right cell and its 2 doors, as well as the top-left cell and its 2 doors. This leaves 8 odd-degree cells along each side of the grid; we can delete 4 doors along each to cover all remaining odd-degree cells, for 20 total doors deleted. The resulting graph is connected and has no odd-degree cells, so it must have an Eulerian circuit. This circuit is our desired path |
16 | 6300 | Compute the number of ways to pick two rectangles in a $5 \times 5$ grid of squares such that the edges of the rectangles lie on the lines of the grid and the rectangles do not overlap at their interiors, edges, or vertices. The order in which the rectangles are chosen does not matter. | A rectangle can be specified by two intervals, one specifying its horizontal extent (x-coordinates of left and right sides) and one specifying its vertical extent (y-coordinates of bottom and top sides). For the rectangles to not overlap, we need either the horizontal intervals or the vertical intervals to be disjoint (possibly both). First, we will count the number of ways for the horizontal intervals to be disjoint. Let these intervals be $[a, b]$ and $[c, d]$. As the order of the rectangles does not matter, we can assume without loss of generality that $a < c$, so $a < b < c < d$. Then there are $\binom{6}{4}$ choices for $a$, $b$, $c$, and $d$. There are no restrictions on the vertical intervals, so the number of ways to choose them is $\binom{6}{2}^2$. Thus, the total number of pairs of rectangles for which the horizontal intervals are disjoint is $\binom{6}{4} \binom{6}{2}^2$. By symmetry, the total number of pairs of rectangles for which the vertical intervals are disjoint is the same. It remains to count the number of ways for both the horizontal and vertical intervals to be disjoint. Again, let the horizontal intervals be $[a, b]$ and $[c, d]$, and let the vertical intervals be $[e, f]$ and $[g, h]$. We can assume $a < b < c < d$ without loss of generality, so there are $\binom{6}{4}$ ways to choose the horizontal intervals. However, the cases $e < f < g < h$ and $g < h < e < f$ are now distinct, so there are $2 \binom{6}{4}$ ways to choose the vertical intervals. Therefore, there are $\binom{6}{4}^2$ pairs of rectangles for which both the horizontal and vertical intervals are disjoint. Through inclusion-exclusion, we get the final answer of $2 \cdot \binom{6}{4} \binom{6}{2}^2 - \binom{6}{4}^2 = \boxed{6300}$. |
17 | 2^{25} \cdot 26! | Compute the number of ways to arrange $3$ copies of each of the $26$ lowercase letters of the English alphabet such that for any two distinct letters $x_{1}$ and $x_{2}$, the number of $x_{2}$ 's between the first and second occurrences of $x_{1}$ equals the number of $x_{2}$ 's between the second and third occurrences of $x_{1}$. | First, we prove such a string can be divided into blocks where each block consists of the same substring written three times. We prove the following lemma.
Lemma1: For any letter $x_1$, the strings between the first and second occurrences of $x_1$ and between the second and third occurrences of $x_1$ are the same.
Proof: Call these two strings $s_1$ and $s_2$. We know they must be permutations of each other, and if a letter appears twice in $s_1$, it would also have to appear twice in $s_2$, for four appearances in all, which is impossible. Thus, no letter appears twice in $s_1$ (and likewise in $s_2$).
Assume for sake of contradiction that for some letters $x_2$ and $x_3$ in these strings, $x_2$ appears before $x_3$ in $s_1$, but after $x_3$ in $s_2$. Then, between these two appearances of $x_2$ (which are consecutive, because no other $x_2$'s appear in either $s_1$ or $s_2$), there must be two $x_3$'s. This implies there must also be two $x_3$'s between the other pair of consecutive $x_2$'s, contradiction.
We conclude any two letters in $s_1$ and $s_2$ appear in the same order in both strings, so $s_1 = s_2$.
Let the first letter of our 78-character string be $x_1$, and suppose the next appearance of $x_1$ is the $(k+1)$-th letter. Let $x_2, x_3, \dots, x_k$ be the letters in between. Then, $x_2x_3\dots x_k$ is the string between the first and second $x_1$'s, so it must also be the string between the second and third $x_1$'s. Thus, after the second $x_1$, we must have $x_2x_3\dots x_k x_1$.
Now, between the first and second $x_1$'s is the string $x_1x_2x_3\dots x_{k-1}$, so this must also be between the second and third $x_1$'s. Thus, after the second $x_1$, we must have $x_1x_2x_3\dots x_k$.
Thus, the first $3k$ letters are simply $x_1x_2x_3\dots x_k$ repeated three times. We can remove this block of $3k$ letters and repeat to show that the whole string can be divided into such blocks.
To count the number of such strings, we first note that there are $2^{25}$ ways to divide the strings into such blocks. This is because there are 25 possible places which can divide two blocks (after the 3rd, 6th, 9th, etc. letters), and we can choose any subset of these to divide blocks.
The string is then uniquely determined by the first one-third of each block, which must consist of every letter exactly once (as the whole string is just three copies of these thirds spliced together). These thirds can consist of any ordering of the 26 letters, so there are $26!$ strings with any given partition of blocks.
We conclude the total number of strings is $\boxed{2^{25} \cdot 26!}$.
Remark: Another way to see the characterization of strings is as follows. First, solve the problem for the case of two letters $a$ and $b$: it is straightforward to show that the only strings are $ababab$, $bababa$, $aaabbb$, $bbbaaa$. Going back to the original problem, the six appearances of any pair of letters must be in the order of one of the four strings above; say two letters are interleaved if they alternate appearances. Construct a graph on letters with an edge between two letters if and only if they are interleaved. Note that if $a$ and $b$ are interleaved, and $b$ and $c$ are interleaved, then $a$ and $c$ must be interleaved. Thus, the graph is transitive, implying that it is a union of disjoint cliques. We can now finish as before. |
18 | \frac{2025}{101} | Albert writes $2025$ numbers $a_{1}, \ldots, a_{2025}$ in a circle on a blackboard. Initially, each of the numbers is uniformly and independently sampled at random from the interval $[0,1]$. Then, each second, he \emph{simultaneously} replaces $a_{i}$ with $\max \left(a_{i-1}, a_{i}, a_{i+1}\right)$ for all $i=1,2, \ldots, 2025$ (where $a_{0}=a_{2025}$ and $a_{2026}=a_{1}$ ). Compute the expected value of the number of distinct values remaining after $100$ seconds. | Solution: We can assume that the initial numbers are all distinct, since this occurs with probability 1. For clarity, we denote the value of $a_i$ after $t$ seconds as $a_{i,t}$. The index $i$ is taken mod 2025.
In general, after $k < 1012$ seconds, we claim the expected number of distinct values remaining is $\frac{2025}{k+1}$. To show this, we first prove that for any remaining value, its appearances are consecutive. Indeed, note that for all $i$ and $k$,
$a_{i,k} = \max(a_{i-1, k-1}, a_{i, k-1}, a_{i+1, k-1}) = \max(a_{i-2, k-2}, \dots, a_{i+2, k-2}) = \dots = \max(a_{i-k, 0}, \dots, a_{i+k, 0})$.
Given an initial number $a_{c,0}$, let $j_1$ and $j_2$ be the smallest positive integers such that $a_{c-j_1, 0} > a_{c,0}$ and $a_{c+j_2, 0} > a_{c,0}$. As the initial numbers are distinct, we conclude $a_{i,k} = a_{c,0}$ if and only if $\{i-k, i-k+1, \dots, i+k\}$ contains $c$ but neither $c-j_1$ nor $c+j_2 \pmod{2025}$. The indices $i$ that satisfy this are clearly consecutive. Now consider the indicator variables
$$ \mathbf{1}_i = \begin{cases} 1 & \text{if } a_{i,k} \neq a_{i+1,k} \\ 0 & \text{otherwise} \end{cases} $$
for $1 \le i \le 2025$. Note that the number of distinct values on the board after $k$ seconds is simply $\sum_{i=1}^{2025} \mathbf{1}_i$. By linearity of expectation, it suffices to compute $\mathrm{E}[\mathbf{1}_i]$ for each $i$. Recall
$$ a_{i,k} = \max(a_{i-k,0}, \dots, a_{i+k,0}) $$
for each $1 \le i \le 2025$. Hence, the condition $a_{i,k} \neq a_{i+1,k}$ can be written as
$$ \max(a_{i-k,0}, \dots, a_{i+k,0}) \neq \max(a_{i+1-k,0}, \dots, a_{i+1+k,0}). $$
This is the case if and only if $\max(a_{i-k,0}, \dots, a_{i+1+k,0})$ is either $a_{i-k,0}$ or $a_{i+k+1,0}$ (as $a_{i-k,0} \neq a_{i+k+1,0}$ and $2k+2 < 2025$). Since the $2k+2$ values $a_{i-k,0}, \dots, a_{i+k+1,0}$ were sampled independently from the same distribution, each of $a_{i-k,0}$ and $a_{i+k+1,0}$ has a $\frac{1}{2k+2}$ probability of being their maximum. Hence,
$$ \mathrm{E}[\mathbf{1}_i] = \mathrm{Pr}[a_{i,k} \neq a_{i+1,k}] = \frac{2}{2k+2} = \frac{1}{k+1}. $$
Thus, the expected number of distinct values is
$$ \sum_{i=1}^{2025} \mathrm{E}[\mathbf{1}_i] = \frac{2025}{k+1}. $$
Substituting $k=100$ yields the answer $\boxed{\frac{2025}{101}}$. |
19 | \frac{4}{9} | Two points are selected independently and uniformly at random inside a regular hexagon. Compute the probability that a line passing through both of the points intersects a pair of opposite edges of the hexagon. | First, we compute the probability that the line through two random points in a triangle $ABC$ passes through segments $\overline{AB}$ and $\overline{AC}$. We can take an affine transform of the two random points and the triangle such that $ABC$ becomes equilateral. Since the distribution of the two points is still uniform and independent, the probability of the line intersecting any two given sides is $\frac{1}{3}$ by symmetry.
Next, we compute the probability that the line through two random points in a rectangle $ABCD$ passes through opposite edges $\overline{AB}$ and $\overline{CD}$. If the line passes through $\overline{AB}$ and $\overline{BC}$, the points must both lie in triangle $ABC$, whose area is half that of $ABCD$. Given this, the probability the line passes through those two sides is $\frac{1}{3}$, as computed before. Thus the probability the line passes through $\overline{AB}$ and $\overline{BC}$ is $(\frac{1}{3})^2 = \frac{1}{12}$. The same goes for the other pairs of adjacent edges. By symmetry, the line is equally likely to pass through either pair of opposite edges, each with probability $\frac{1}{2} (1 - 4 \cdot \frac{1}{12}) = \frac{1}{3}$.
We now return to the original problem. If the line passes through a pair of opposite edges, then both points must be in the rectangle formed by these edges, which has area $\frac{2}{3}$ that of the hexagon. Given this, the probability the line passes through those two edges is $\frac{1}{3}$ as computed before. Thus, the probability that the line passes through the given pair of opposite edges is $(\frac{2}{3})^2 \cdot \frac{1}{3} = \frac{4}{27}$. Hence, the probability the line passes through any of the three pairs of opposite edges is $3 \cdot \frac{4}{27} = \boxed{\frac{4}{9}}$. |
20 | \frac{448}{3} | The circumference of a circle is divided into $45$ arcs, each of length $1$. Initially, there are $15$ snakes, each of length $1$, occupying every third arc. Every second, each snake independently moves either one arc left or one arc right, each with probability $\frac{1}{2}$. If two snakes ever touch, they merge to form a single snake occupying the arcs of both of the previous snakes, and the merged snake moves as one snake. Compute the expected number of seconds until there is only one snake left. | Solution: We solve the problem generally for $n$ snakes and $3n$ arcs. Without loss of generality, fix the two snakes $A$ and $B$ that will eventually form the ends of the last snake. Note that $A$ and $B$ must be consecutive in the initial configuration; assume $B$ lies immediately clockwise from $A$.
Let $d$ be the arclength between $A$ and $B$ (measuring clockwise from $A$ to $B$). As long as $d \neq 0$ and $d \neq 2n$, we know that $A$ and $B$ lie in different snakes and thus move independently. Therefore, we can consider $d$ to be on a random walk starting at 2, where
* the probability $d$ does not change is $\frac{1}{2}$ (if $A$ and $B$ move in the same direction),
* the probability $d$ decreases by 2 is $\frac{1}{4}$ (if $A$ moves clockwise and $B$ moves counterclockwise),
* the probability that $d$ increases by 2 is $\frac{1}{4}$ (if $A$ moves counterclockwise and $B$ moves clockwise),
* the random walk ends if $d=0$ or $d=2n$ (the snakes touch; only $d=2n$ obeys our assumption).
We want to find the conditional expected length of the random walk given that it ends at $d=2n$. The key idea is to directly calculate the conditional probabilities of each transition. To do this, we will repeatedly use the following well-known fact: for any random walk where moving 1 unit to the left and moving 1 unit to the right are equally likely, the probability of reaching the point $b$ units to the right of the starting point before reaching the point $a$ units to the left is $\frac{a}{a+b}$.
For any single transition, we have
$$ \mathrm{P}("d \text{ moves from } 2k \text{ to } 2k-2" \mid "\text{the path ends at } 2n") $$
$$ = \frac{\mathrm{P}("d \text{ moves from } 2k \text{ to } 2k-2" \text{ AND } "\text{the path starting from } 2k-2 \text{ ends at } 2n")}{\mathrm{P}("\text{the path starting from } 2k \text{ ends at } 2n")} $$
$$ = \frac{(\frac{1}{4}) (\frac{k-1}{k})}{\binom{n}{k}} = \frac{k-1}{4k}, $$
$$ \mathrm{P}("d \text{ moves from } 2k \text{ to } 2k+2" \mid "\text{the path ends at } 2n") $$
$$ = \frac{\mathrm{P}("d \text{ moves from } 2k \text{ to } 2k+2" \text{ AND } "\text{the path starting from } 2k+2 \text{ ends at } 2n")}{\mathrm{P}("\text{the path starting from } 2k \text{ ends at } 2n")} $$
$$ = \frac{(\frac{1}{4}) (\frac{k+1}{k})}{\binom{n}{k}} = \frac{k+1}{4k}, $$
$$ \mathrm{P}("d \text{ stays at } 2k" \mid "\text{the path ends at } 2n") $$
$$ = \frac{\mathrm{P}("d \text{ stays at } 2k" \text{ AND } "\text{the path starting from } 2k \text{ ends at } 2n")}{\mathrm{P}("\text{the path starting from } 2k \text{ ends at } 2n")} $$
$$ = \frac{(\frac{1}{2}) (\frac{k}{k})}{\binom{n}{k}} = \frac{1}{2}. $$
Let $E_{2k}$ denote the expected length of a walk starting at $2k$ given that the walk ends at $2n$. Then, for $0 < k < n$, we have
$$ E_{2k} = \frac{k-1}{4k}(E_{2k-2}+1) + \frac{1}{2}(E_{2k}+1) + \frac{k+1}{4k}(E_{2k+2}+1) $$
$$ \implies E_{2k} = 2 + \frac{k-1}{2k}E_{2k-2} + \frac{k+1}{2k}E_{2k+2}. $$
It can be shown by induction that $E_{2k} = E_2 - 2\frac{2(k^2-1)}{3}$ for all $k \ge 1$. Since $E_{2n}=0$, this implies that $E_2 = \frac{2(n^2-1)}{3}$. When $n=15$, the answer is therefore $\boxed{\frac{448}{3}}$. |
21 | 26 | Equilateral triangles $\triangle A B C$ and $\triangle D E F$ are drawn such that points $B, E, F$, and $C$ lie on a line in this order, and point $D$ lies inside triangle $\triangle A B C$. If $B E=14, E F=15$, and $F C=16$, compute $A D$. | Extend $DE$ to meet $AC$ at $X$. Observe that $ABEX$ and $DFCX$ are isosceles trapezoids (both with base angles of $60^{\circ}$), so we have
* $AX = BE = 14$,
* $DX = FC = 16$, and
* $\angle AXD = 120^{\circ}$.
By Law of Cosines on $\triangle ADX$, the answer is
$$ AD = \sqrt{AX^2 + DX^2 - 2\cos(120^{\circ})AX \cdot DX} $$
$$ = \sqrt{14^2 + 16^2 + 14 \cdot 16} = \boxed{26}. $$ |
22 | 63 | In a two-dimensional cave with a parallel floor and ceiling, two stalactites of lengths $16$ and $36$ hang perpendicularly from the ceiling, while two stalagmites of heights $25$ and $49$ grow perpendicularly from the ground. If the tips of these four structures form the vertices of a square in some order, compute the height of the cave. | Note that the difference in heights between the two stalactites does not equal the difference in heights between the stalagmites. This tells us that the two stalactites form a pair of opposite vertices of the square, and likewise for the stalagmites. As the midpoint of the pairs of structures must then coincide, we know that it is $\frac{16+36}{2}=26$ from the ceiling due to the stalactites, and $\frac{25+49}{2}=37$ from the ground due to the stalagmites. Therefore the height of the cave is just the sum of these two values, i.e. $26 + 37 = \boxed{63}$. |
23 | 8\sqrt{10} | Point $P$ lies inside square $A B C D$ such that the areas of $\triangle P A B, \triangle P B C, \triangle P C D$, and $\triangle P D A$ are 1, $2,3$, and $4$, in some order. Compute $P A \cdot P B \cdot P C \cdot P D$. | Let $h_1, h_2, h_3,$ and $h_4$ be the lengths of the altitudes from $P$ to sides $AB, BC, CD,$ and $DA$, respectively. Then, the problem statement implies that $\{h_1, h_2, h_3, h_4\} = \{x, 2x, 3x, 4x\}$ for some $x$. Furthermore, the area of the square is $1+2+3+4 = 10$, so we have
$$ h_1+h_3 = \sqrt{10} = h_2+h_4. $$
Hence either $(\{h_1, h_3\} = \{x, 4x\}$ and $\{h_2, h_4\} = \{2x, 3x\})$, or $(\{h_2, h_4\} = \{x, 4x\}$ and $\{h_1, h_3\} = \{2x, 3x\})$. In any case, we get $5x = \sqrt{10}$ from above, and finish via the Pythagorean theorem:
$$ PA \cdot PB \cdot PC \cdot PD = \sqrt{x^2+(2x)^2} \cdot \sqrt{(2x)^2+(4x)^2} \cdot \sqrt{(4x)^2+(3x)^2} \cdot \sqrt{(3x)^2+x^2} $$
$$ = 50\sqrt{10}x^4 $$
$$ = (50\sqrt{10}) \cdot \left(\frac{2}{5}\right)^2 $$
$$ = \boxed{8\sqrt{10}}. $$ |
24 | 20 | A semicircle is inscribed in another semicircle if the smaller semicircle's diameter is a chord of the larger semicircle, and the smaller semicircle's arc is tangent to the diameter of the larger semicircle.
Semicircle $S_{1}$ is inscribed in a semicircle $S_{2}$, which is inscribed in another semicircle $S_{3}$. The radii of $S_{1}$ and $S_{3}$ are $1$ and 10, respectively, and the diameters of $S_{1}$ and $S_{3}$ are parallel. The endpoints of the diameter of $S_{3}$ are $A$ and $B$, and $S_{2}$ 's arc is tangent to $A B$ at $C$. Compute $A C \cdot C B$.
\begin{tikzpicture}
% S_1
\coordinate (S_1_1) at (6.57,0.45);
\coordinate (S_1_2) at (9.65,0.45);
\draw (S_1_1) -- (S_1_2);
\draw (S_1_1) arc[start angle=180, end angle=0, radius=1.54]
node[midway,above] {};
\node[above=0.5cm] at (7,1.2) {$S_1$};
% S_2
\coordinate (S_2_1) at (6.32,4.82);
\coordinate (S_2_2) at (9.95,0.68);
\draw (S_2_1) -- (S_2_2);
\draw (S_2_1) arc[start angle=131, end angle=311, radius=2.75]
node[midway,above] {};
\node[above=0.5cm] at (5,2) {$S_2$};
% S_3
\coordinate (A) at (0,0);
\coordinate (B) at (10,0);
\draw (A) -- (B);
\fill (A) circle (2pt) node[below] {$A$};
\fill (B) circle (2pt) node[below] {$B$};
\draw (A) arc[start angle=180, end angle=0, radius=5]
node[midway,above] {};
\node[above=0.5cm] at (1,3) {$S_3$};
\coordinate (C) at (8.3,0);
\fill (C) circle (2pt) node[below] {$C$};
\end{tikzpicture} | Let $P, Q,$ and $R$ be the midpoints of the diameters (i.e., the center of the circular arcs) of $S_3, S_2,$ and $S_1$, respectively. Observe that if one fixes $S_3$, the location of $S_2$ is uniquely determined by the angle between the diameters of $S_2$ and $S_3$. The same holds for $S_2$ and $S_1$. Thus, the figures $S_3 \cup S_2$ and $S_2 \cup S_1$ are similar. This gives us that the radius of $S_2$ is $\sqrt{10}$.
To compute the answer, we define $V$ to be either intersection of the arcs of $S_2$ and $S_3$. By the Pythagorean theorem, $PQ = \sqrt{PV^2 - VQ^2} = \sqrt{100-10} = \sqrt{90}$. By the Pythagorean theorem again, $PC = \sqrt{PQ^2 - QC^2} = \sqrt{90-10} = \sqrt{80}$. Thus $AC \cdot CB = (10+PC)(10-PC) = 100 - PC^2 = \boxed{20}$. |
25 | \sqrt{23}-2 \sqrt{3} | Let $\triangle A B C$ be an equilateral triangle with side length $6$. Let $P$ be a point inside triangle $\triangle A B C$ such that $\angle B P C=120^{\circ}$. The circle with diameter $\overline{A P}$ meets the circumcircle of $\triangle A B C$ again at $X \neq A$. Given that $A X=5$, compute $X P$. | Let $A'$ be the antipode of $A$. As $\angle AXA' = 90^{\circ}$, we have $X, P,$ and $A'$ are collinear. As $\angle BPC = 120^{\circ}$ and $\angle BA'C = 180^{\circ} - \angle BAC = 120^{\circ}$, it follows that $P$ lies on the circle with center $A'$ passing through $B$ and $C$, so $A'P = \frac{BC}{\sqrt{3}} = 2\sqrt{3}$ and $AA' = 2A'B = 4\sqrt{3}$. By the Pythagorean theorem,
$$ XA' = \sqrt{(4\sqrt{3})^2 - 5^2} = \sqrt{23}, \text{ so the answer is } XA' - PA' = \boxed{\sqrt{23}-2\sqrt{3}}. $$ |
26 | 9\sqrt{15} | Trapezoid $A B C D$, with $A B \| C D$, has side lengths $A B=11, B C=8, C D=19$, and $D A=4$. Compute the area of the convex quadrilateral whose vertices are the circumcenters of $\triangle A B C, \triangle B C D$, $\triangle C D A$, and $\triangle D A B$. | Let $O_A, O_B, O_C,$ and $O_D$ be the circumcenters of $\triangle BCD, \triangle CDA, \triangle DAB,$ and $\triangle ABC$, respectively. Note that $O_B O_C$ is the perpendicular bisector of $AD$. Similarly, $O_B O_D \perp AC$ and $O_C O_D \perp AB$. As $AB \parallel CD$, we have $O_C O_D \perp CD$. Then, $\triangle O_B O_C O_D \perp \triangle ADC$, as their corresponding sides are perpendicular. Likewise, $\triangle O_D O_A O_B \overset{+}{\sim} \triangle CBA$, so $O_A O_B O_C O_D \overset{+}{\sim} BADC$.
Therefore, we only need to compute the area of $ABCD$ and the ratio of similarity between the two trapezoids. Draw a line parallel to $AD$ passing through $B$. Let this line intersect $CD$ at $X$. Then, $BX = AD = 4$, $CB = 8$, and $CX = CD - AB = 8$. The height $h$ of $ABCD$ is given by
$$ h = d(B, XC) = \frac{2[\triangle BXC]}{XC} = \frac{BX \cdot d(C, BX)}{XC} = \frac{4\sqrt{8^2-2^2}}{8} = \sqrt{15}. $$
On the other hand, the height of $O_A O_B O_C O_D$ is the distance between the perpendicular bisectors of $AB$ and $CD$, which pass through the midpoints $M$ of $AB$ and $N$ of $CD$. Let $A'$ and $M'$ be the projections of $A$ and $M$ onto $CD$, respectively. Then, the height of $O_A O_B O_C O_D$ is given by
$$ M'N = DN - DM' = \frac{CD}{2} - \frac{AB}{2} - DA' = \frac{19-11}{2} - \sqrt{4^2 - h^2} = 3. $$
Therefore, the similarity ratio between the two trapezoids is $\frac{3}{\sqrt{15}}$. We know that the area of $ABCD$ is $\frac{1}{2}(11+19)\sqrt{15} = 15\sqrt{15}$, so the area of $O_A O_B O_C O_D$ is $\left(\frac{3}{\sqrt{15}}\right)^2 \cdot 15\sqrt{15} = \boxed{9\sqrt{15}}$. |
27 | \frac{7}{18} | Point $P$ is inside triangle $\triangle A B C$ such that $\angle A B P=\angle A C P$. Given that $A B=6, A C=8, B C=7$, and $\frac{B P}{P C}=\frac{1}{2}$, compute $\frac{[B P C]}{[A B C]}$.
(Here, $[X Y Z]$ denotes the area of $\triangle X Y Z$ ). | Let the internal and external bisectors of $\angle BAC$ meet $BC$ at $D$ and $E$. Similarly, let the internal and external bisectors of $\angle BPC$ meet $BC$ at $D'$ and $E'$. The angle condition implies that $AD \parallel PD'$ and $AE \parallel PE'$. Thus, triangles $ADE$ and $PD'E'$ are homothetic. Hence, the requested ratio is $\frac{DE}{D'E'}$.
Repeated applications of the angle bisector theorem yield
$$ BD = 7 \cdot \frac{6}{6+8} = 3, $$
$$ BE = 7 \cdot \frac{6}{8-6} = 21, $$
$$ BD' = 7 \cdot \frac{1}{1+2} = \frac{7}{3}, $$
$$ BE' = 7 \cdot \frac{1}{2-1} = 7, $$
so $DE = 24$ and $D'E' = 28/3$. Hence, the answer is $\frac{28/3}{24} = \boxed{\frac{7}{18}}$. |
28 | \sqrt{6} | Let $A B C D$ be an isosceles trapezoid such that $C D>A B=4$. Let $E$ be a point on line $C D$ such that $D E=2$ and $D$ lies between $E$ and $C$. Let $M$ be the midpoint of $\overline{A E}$. Given that points $A, B, C, D$, and $M$ lie on a circle with radius $5$, compute $M D$. | Let $D'$ be the reflection of $D$ across $M$. Then, $ADED'$ is a parallelogram. Hence, $D'A = 2$, so $D'B = 6$. Thus, if $D'M = MD = x$, then Power of a Point at $D'$ gives $x \cdot (2x) = 2 \cdot 6$, so $x = \boxed{\sqrt{6}}$. *Remark*. The radius of the circle is unnecessary. |
29 | 14+4\sqrt{37} | Let $A B C D$ be a rectangle with $B C=24$. Point $X$ lies inside the rectangle such that $\angle A X B=90^{\circ}$. Given that triangles $\triangle A X D$ and $\triangle B X C$ are both acute and have circumradii $13$ and $15$, respectively, compute $A B$. | Solution 1: Let $M$ be the midpoint of $AB$. Let $O_1$ and $O_2$ be the circumcenters of $\triangle AXD$ and $\triangle BXC$, respectively. Since $O_1M$ is the perpendicular bisector of $AX$ and $O_2M$ is the perpendicular bisector of $BX$, we get that $\angle O_1MO_2 = 90^\circ$. Let $P_1$ and $P_2$ be the projections of $O_1$ and $O_2$ onto segment $AB$, respectively, and let $AB = 2x$. By the Pythagorean theorem, $P_1A = \sqrt{O_1A^2 - O_1P_1^2} = \sqrt{15^2 - 12^2} = 5$, so $MP_1 = MA - P_1A = x-5$. Likewise, $MP_2 = MB - \sqrt{15^2 - 12^2} = x-9$. Since $\triangle MP_1O_1 \sim \triangle O_2P_2M$, we know $$ (x-5)(x-9) = MP_1 \cdot MP_2 = O_2P_2 \cdot P_1O_1 = 12^2. $$ Solving this, we get $x = 7 + 2\sqrt{37}$, which implies that $AB = 2x = \boxed{14 + 4\sqrt{37}}$. (The condition that $\triangle AXD$ and $\triangle BXC$ are acute rules out $14 - 4\sqrt{37}$.) |
30 | \sqrt{\frac{95}{24}} | A plane $\mathcal{P}$ intersects a rectangular prism at a hexagon which has side lengths $45,66,63,55,54$, and 77, in that order. Compute the distance from the center of the rectangular prism to $\mathcal{P}$. | Translate $\mathcal{P}$ so that it contains the center. The intersection of the translated plane with the rectangular prism is a centrally symmetric hexagon. Let its side lengths be $a$, $b$, $c$, $a$, $b$, and $c$, in that order. Then, for some $t_a$, $t_b$, and $t_c$, the side lengths of the hexagon before the translation were $$ (a-t_a, b+t_b, c-t_c, a+t_a, b-t_b, c+t_c) = (45, 66, 63, 55, 54, 77), $$ from which it follows that $t_a = 5$, $t_b = 6$, and $t_c = 7$. Now, a translation of a plane can be written in one of three equivalent forms: it can be viewed as a translation in the $x$ direction by a distance $d_x$, a translation in the $y$ direction by a distance $d_y$, or a translation in the $z$ direction by a distance $d_z$ (with coordinate axes chosen as shown below). As shown above, we can express $t_a$, $t_b$, and $t_c$ in terms of $d_x$, $d_y$, and $d_z$ using the Pythagorean theorem, which yields $t_a = \sqrt{d_y^2 + d_z^2}$, $t_b = \sqrt{d_z^2 + d_x^2}$, and $t_c = \sqrt{d_x^2 + d_y^2}$. Hence, $$ (d_x^2, d_y^2, d_z^2) = \left( \frac{5^2 + 6^2 - 7^2}{2}, \frac{6^2 + 7^2 - 5^2}{2}, \frac{7^2 + 5^2 - 6^2}{2} \right) = (6, 30, 19). $$ We can draw a right pyramid with legs $d_x$, $d_y$, and $d_z$ which has the center of the prism as a vertex with opposite face on $\mathcal{P}$. Then, the height of this pyramid, or the distance from the center to $\mathcal{P}$, is $$ \sqrt{\frac{1}{d_x^{-2} + d_y^{-2} + d_z^{-2}}} = \sqrt{\frac{1}{6^{-1} + 30^{-1} + 19^{-1}}} = \boxed{\sqrt{\frac{95}{24}}}. $$ |
Dataset Summary
This dataset comprises the questions, answers, and solutions from HMMT February 2025, all of which were extracted by OCR, converted to LaTeX, and manually verified by FlagEval Team.
Data Fields
Below one can find the description of each field in the dataset.
id
(str): Index of the problem in the competitionproblem
(str): Full problem statementanswer
(str): Ground-truth answer to the questionsolution
(str): Ground-truth solution to the question
Licensing Information
This dataset is licensed under the Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).
- Downloads last month
- 32