In an after-school program for juniors and seniors, there is a debate team with an equal number of students from each class on the team. Among the $28$ students in the program, $25\%$ of the juniors and $10\%$ of the seniors are on the debate team. How many juniors are in the program?
Xem đáp án và lời giải
Đáp án: $8$
Let $j$ and $s$ be the numbers of juniors and seniors in the program, so $j + s = 28$.
Since the debate team has equal numbers of juniors and seniors,
\[
0.25j = 0.10s \implies s = 2.5j.
\]
Substituting into $j + s = 28$ gives $3.5j = 28 \implies j = 8$ juniors.
Question 4
Dễ · +10 điểm
At a math contest, $57$ students are wearing blue shirts, and another $75$ students are wearing yellow shirts. The $132$ students are assigned into $66$ pairs. In exactly $23$ of these pairs, both students are wearing blue shirts. In how many pairs are both students wearing yellow shirts?
Xem đáp án và lời giải
Đáp án: $32$
The $23$ all-blue pairs account for $23 \cdot 2 = 46$ students wearing blue shirts.
The remaining $57 - 46 = 11$ students wearing blue shirts must each be paired with a student wearing a yellow shirt.
That leaves $75 - 11 = 64$ students wearing yellow shirts, who form $\dfrac{64}{2} = 32$ all-yellow pairs.
Question 5
Dễ · +10 điểm
The ages of Jonie's four cousins are distinct single-digit positive integers. Two of the cousins' ages multiplied together give $24$, while the other two multiply to $30$. What is the sum of the ages of Jonie's four cousins?
Xem đáp án và lời giải
Đáp án: $22$
The only pair of distinct single-digit positive integers with product $30$ is $5$ and $6$.
The pairs of single-digit positive integers with product $24$ are $\{3, 8\}$ and $\{4, 6\}$. Because the four ages are distinct and $6$ is already used, the remaining two ages must be $3$ and $8$.
Therefore, the sum of the four ages is $3 + 8 + 5 + 6 = 22$.
Question 6
Dễ · +10 điểm
Ms. Blackwell gives an exam to two classes. The mean of the scores of the students in the morning class is $84$, and the afternoon class's mean score is $70$. The ratio of the number of students in the morning class to the number of students in the afternoon class is $\dfrac{3}{4}$. What is the mean of the scores of all the students?
Xem đáp án và lời giải
Đáp án: $76$
Let the morning and afternoon classes have $3k$ and $4k$ students, respectively ($k > 0$). The overall mean score is
\[
\dfrac{3k \cdot 84 + 4k \cdot 70}{3k + 4k} = \dfrac{252 + 280}{7} = \dfrac{532}{7} = 76.
\]
Question 7
Dễ · +10 điểm
In a plane, four circles with radii $1, 3, 5,$ and $7$ are tangent to line $\ell$ at the same point $A$, but they may be on either side of $\ell$. Region $S$ consists of all the points that lie inside exactly one of the four circles. What is the maximum possible area of region $S$?
Xem đáp án và lời giải
Đáp án: $65\pi$
Circles on opposite sides of $\ell$ share no interior points. On a given side of $\ell$, if the circles have radii $r_1 > r_2 > \cdots > r_k$, they are nested ($D_{r_k} \subset \cdots \subset D_{r_2} \subset D_{r_1}$), so the points belonging to exactly one circle on that side form the region $D_{r_1} \setminus D_{r_2}$ of area $\pi(r_1^2 - r_2^2)$ (or $\pi r_1^2$ if there is only one circle on that side).
Since $7^2 = 49\pi$ is the largest circle, placing the radius-$7$ circle alone on one side of $\ell$ and the circles of radii $1, 3, 5$ on the other side maximizes the total area:
\[
\pi \cdot 7^2 + \pi(5^2 - 3^2) = 49\pi + 16\pi = 65\pi.
\]
(Putting any smaller circle on the same side as radius $7$ strictly decreases its contribution below $49\pi$, and even if all others moved to the opposite side they could contribute at most $25\pi$.) Thus the maximum area is $65\pi$.
Question 8
Dễ · +10 điểm
Mr. Zhou places all the integers from $1$ to $225$ into a $15$ by $15$ grid. He places $1$ in the middle square (eighth row and eighth column) and places other numbers one by one clockwise, as shown in part in the diagram below. What is the sum of the greatest number and the least number that appear in the second row from the top?
Xem đáp án và lời giải
Đáp án: $367$
For each $k \geqslant 0$, the central $(2k+1) \times (2k+1)$ subgrid ends with $(2k+1)^2$ in its top-right corner, located at row $8 - k$ and column $8 + k$.
For the $13 \times 13$ subgrid ($k = 6$), its top row is row $8 - 6 = 2$, the second row from the top of the $15 \times 15$ grid.
Its $13$ entries in row $2$ (columns $2$ through $14$) increase rightward up to $13^2 = 169$ at $(2, 14)$, so the entry at $(2, 2)$ is $169 - 12 = 157$.
The remaining two entries in row $2$ belong to the outer $15 \times 15$ ring: $(2, 15)$ immediately follows $169$ as $170$, while $(2, 1)$ is the entry immediately preceding the top-left corner $(1, 1)$ of the final top row $(1, 1), \ldots, (1, 15)$ ending at $15^2 = 225$. Thus the entry at $(2, 1)$ is $225 - 15 = 210$.
Hence the least and greatest numbers in the second row are $157$ and $210$, with sum $157 + 210 = 367$.
Question 9
Trung bình · +20 điểm
The point $P(a, b)$ in the $xy$-plane is first rotated counterclockwise by $90^\circ$ around the point $(1, 5)$ and then reflected about the line $y = -x$. The image of $P$ after these two transformations is at $(-6, 3)$. What is $b - a$?
Xem đáp án và lời giải
Đáp án: $7$
Reverse the transformations from the image $(-6, 3)$:
1. Undoing the reflection about $y = -x$, which maps $(u, v) \mapsto (-v, -u)$, sends $(-6, 3)$ back to $(-3, 6)$.
2. Relative to the center $(1, 5)$, the point $(-3, 6)$ has displacement $(-3 - 1, 6 - 5) = (-4, 1)$. Undoing a $90^\circ$ counterclockwise rotation means rotating $(-4, 1)$ clockwise by $90^\circ$, which gives $(1, 4)$.
Thus $P(a, b) = (1 + 1, 5 + 4) = (2, 9)$, and $b - a = 9 - 2 = 7$.
Question 10
Trung bình · +20 điểm
An inverted cone with base radius $12\text{ cm}$ and height $18\text{ cm}$ is full of water. The water is poured into a tall cylinder whose horizontal base has a radius of $24\text{ cm}$. What is the height in centimeters of the water in the cylinder?
Xem đáp án và lời giải
Đáp án: $1.5$
The volume of water in the cone is
\[
V = \dfrac{1}{3}\pi (12^2)(18) = 864\pi\text{ cm}^3.
\]
Let $h$ be the height of the water in the cylinder of radius $24\text{ cm}$. Equating volumes gives
\[
\pi(24^2)h = 864\pi \implies 576h = 864 \implies h = \dfrac{864}{576} = 1.5\text{ cm.}
\]
Question 11
Trung bình · +20 điểm
Grandma has just finished baking a large rectangular pan of brownies. She is planning to make rectangular pieces of equal size and shape, with straight cuts parallel to the sides of the pan. Each cut must be made entirely across the pan. Grandma wants to make the same number of interior pieces as pieces along the perimeter of the pan. What is the greatest possible number of brownies she can produce?
Xem đáp án và lời giải
Đáp án: $60$
Suppose the cuts partition the pan into an $m \times n$ grid of pieces ($m, n \geqslant 3$ so interior pieces exist).
There are $(m - 2)(n - 2)$ interior pieces and $mn - (m - 2)(n - 2)$ perimeter pieces. Setting the interior count equal to half the total number of pieces gives
\[
2(m - 2)(n - 2) = mn \implies mn - 4m - 4n + 8 = 0 \implies (m - 4)(n - 4) = 8.
\]
Since $m, n \geqslant 3$, positive factorizations of $8$ yield the largest products:
Thus the greatest possible number of brownies is $60$.
Question 12
Trung bình · +20 điểm
Let $N = 34 \cdot 34 \cdot 63 \cdot 270$. What is the ratio of the sum of the odd divisors of $N$ to the sum of the even divisors of $N$?
Xem đáp án và lời giải
Đáp án: $1 : 14$
Counting the powers of $2$ in the product gives
\[
N = (2 \cdot 17) \cdot (2 \cdot 17) \cdot 63 \cdot (2 \cdot 135) = 2^3 \cdot M,
\]
where $M = 17^2 \cdot 63 \cdot 135$ is odd.
Let $S$ be the sum of the odd divisors of $N$ (i.e., the divisors of $M$). Every even divisor of $N$ is uniquely of the form $2^k \cdot d$ for $k \in \{1, 2, 3\}$ and an odd divisor $d \mid M$.
Hence the sum of all even divisors of $N$ is $(2^1 + 2^2 + 2^3)S = 14S$, so the desired ratio is $S : 14S = 1 : 14$.
Question 13
Trung bình · +20 điểm
Let $n$ be a positive integer and $d$ be a digit such that the value of the numeral $\overline{32d}$ in base $n$ equals $263$, and the value of the numeral $\overline{324}$ in base $n$ equals the value of the numeral $\overline{11d1}$ in base six. What is $n + d$?
Xem đáp án và lời giải
Đáp án: $11$
Because $4$ is a digit in base $n$ and $d$ is a digit in base $6$, we must have $n \geqslant 5$ and $0 \leqslant d \leqslant 5$.
From $\overline{32d}_n = 263$, we have
\[
3n^2 + 2n + d = 263.
\]
Since $3(8^2) + 2(8) + 5 = 213 < 263$ and $3(10^2) = 300 > 263$, the only possible value is $n = 9$, which gives
\[
3(9^2) + 2(9) + d = 243 + 18 + d = 261 + d = 263 \implies d = 2.
\]
Checking the second condition: $\overline{324}_9 = 3(81) + 2(9) + 4 = 265$ and $\overline{1121}_6 = 216 + 36 + 12 + 1 = 265$, which match. Thus $n + d = 9 + 2 = 11$.
Question 14
Trung bình · +20 điểm
Three equally spaced parallel lines intersect a circle, creating three chords of lengths $38$, $38$, and $34$. What is the distance between two adjacent parallel lines?
Xem đáp án và lời giải
Đáp án: $6$
Let $d$ be the distance between adjacent parallel lines and $R$ be the radius of the circle.
Because the two chords of length $38$ are congruent and parallel, they are equidistant from the center of the circle, with the center lying halfway between them at distance $\dfrac{d}{2}$ from each.
The third line (chord of length $34$) therefore lies at distance $\dfrac{d}{2} + d = \dfrac{3d}{2}$ from the center.
Applying the Pythagorean theorem to the half-chords of lengths $\dfrac{38}{2} = 19$ and $\dfrac{34}{2} = 17$ gives
\[
R^2 = \left(\dfrac{d}{2}\right)^2 + 19^2 = \left(\dfrac{3d}{2}\right)^2 + 17^2.
\]
Solving for $d^2$:
\[
\dfrac{9d^2 - d^2}{4} = 19^2 - 17^2 \implies 2d^2 = (19 - 17)(19 + 17) = 72 \implies d^2 = 36 \implies d = 6.
\]
Question 15
Trung bình · +20 điểm
The real number $x$ satisfies the equation $x + \dfrac{1}{x} = \sqrt{5}$. What is the value of $x^{11} - 7x^7 + x^3$?
Call a positive integer an uphill integer if every digit is strictly greater than the previous digit. For example, $1357$, $89$, and $5$ are all uphill integers, but $32$, $1240$, and $466$ are not. How many uphill integers are divisible by $15$?
Xem đáp án và lời giải
Đáp án: $6$
For an uphill integer to be divisible by $15$, it must be divisible by both $5$ and $3$.
Divisibility by $5$ requires the units digit to be $0$ or $5$. Since the digits strictly increase from left to right and a positive integer cannot have leading zeros, the units digit cannot be $0$ and must therefore be $5$.
Hence every preceding digit must belong to $\{1, 2, 3, 4\}$, arranged in strictly increasing order; each such number corresponds uniquely to a subset $S \subseteq \{1, 2, 3, 4\}$.
For divisibility by $3$, the sum of the digits must be divisible by $3$. Since the units digit contributes $5 \equiv 2 \pmod 3$, the sum of the digits in $S$ must be congruent to $1 \pmod 3$.
Listing the subsets of $\{1, 2, 3, 4\}$ whose sums are congruent to $1 \pmod 3$:
sum $1$: $\{1\} \to 15$,
sum $4$: $\{4\}, \{1, 3\} \to 45, 135$,
sum $7$: $\{3, 4\}, \{1, 2, 4\} \to 345, 1245$,
sum $10$: $\{1, 2, 3, 4\} \to 12345$.
Thus there are $6$ such uphill integers.
Question 17
Trung bình · +20 điểm
Ravon, Oscar, Aditi, Tyrone, and Kim play a card game. Each person is given $2$ cards out of a set of $10$ cards numbered $1, 2, 3, \ldots, 10$. The score of a player is the sum of the numbers of their cards. The scores of the players are as follows: Ravon–$11$, Oscar–$4$, Aditi–$7$, Tyrone–$16$, Kim–$17$. Which of the following statements is true?
Xem đáp án và lời giải
Đáp án: Ravon was given card $4$.
Determine the cards held by each player in order:
Oscar's score is $4$, and the only pair of distinct cards in $\{1, \ldots, 10\}$ summing to $4$ is $\{1, 3\}$.
With $1$ and $3$ used, the only remaining pair summing to Aditi's score of $7$ is $\{2, 5\}$.
The remaining cards are $\{4, 6, 7, 8, 9, 10\}$. The only pair here summing to Ravon's score of $11$ is $\{4, 7\}$.
The remaining cards $\{6, 8, 9, 10\}$ uniquely split into $\{6, 10\}$ for Tyrone ($16$) and $\{8, 9\}$ for Kim ($17$).
Therefore, Ravon was given card $4$.
Question 18
Khó · +30 điểm
A fair $6$-sided die is repeatedly rolled until an odd number appears. What is the probability that every even number appears at least once before the first occurrence of an odd number?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{20}$
Track each time a new even face or an odd face first appears:
1. Before any even number appears, there are $6$ relevant faces ($\{2, 4, 6\}$ vs. $\{1, 3, 5\}$). The probability that an even face appears before an odd face is $\dfrac{3}{6} = \dfrac{1}{2}$.
2. Given one even face has appeared (say $2$), rolls of $2$ do not affect the remaining faces; among the $5$ remaining faces ($\{4, 6\}$ vs. $\{1, 3, 5\}$), the probability a second distinct even face appears before an odd face is $\dfrac{2}{5}$.
3. Given two distinct even faces have appeared, among the $4$ remaining faces (the last even face vs. $\{1, 3, 5\}$), the probability the third even face appears before an odd face is $\dfrac{1}{4}$.
Suppose that $S$ is a finite set of positive integers. If the greatest integer in $S$ is removed from $S$, then the average value (arithmetic mean) of the integers remaining is $32$. If the least integer in $S$ is also removed, then the average value of the integers remaining is $35$. If the greatest integer is then returned to the set, the average value of the integers rises to $40$. The greatest integer in the original set $S$ is $72$ greater than the least integer in $S$. What is the average value of all the integers in the set $S$?
Xem đáp án và lời giải
Đáp án: $36.8$
Let $n = |S|$, let $T$ be the sum of all elements in $S$, and let $m$ and $M$ be the least and greatest elements of $S$, respectively. The three given averages translate to
$$\begin{aligned}
T - M &= 32(n - 1), \\
T - M - m &= 35(n - 2), \\
T - m &= 40(n - 1).
\end{aligned}$$
Subtracting the second equation from the first gives $m = 32(n - 1) - 35(n - 2) = 38 - 3n$.
Subtracting the second equation from the third gives $M = 40(n - 1) - 35(n - 2) = 5n + 30$.
Using $M - m = 72$ yields
\[
(5n + 30) - (38 - 3n) = 72 \implies 8n - 8 = 72 \implies n = 10.
\]
Then $M = 5(10) + 30 = 80$ and $T = 32(9) + 80 = 368$, so the average of $S$ is $\dfrac{368}{10} = 36.8$.
Question 20
Khó · +30 điểm
The figure is constructed from $11$ line segments, each of which has length $2$. The area of pentagon $ABCDE$ can be written as $\sqrt{m} + \sqrt{n}$, where $m$ and $n$ are positive integers. What is $m + n$?
Xem đáp án và lời giải
Đáp án: $23$
Let $P$ and $Q$ be the left and right interior vertices of the figure. All four triangles $\triangle APE$, $\triangle PED$, $\triangle AQB$, and $\triangle QBC$ are equilateral with side length $2$.
Thus $AEDP$ and $ABCQ$ are each rhombi of side length $2$ composed of two equilateral triangles of side $2$, so their long diagonals have length $AD = AC = 2\sqrt{3}$, and each half-rhombus has area
\[
[\triangle ADE] = [\triangle ABC] = \dfrac{2^2\sqrt{3}}{4} = \sqrt{3}.
\]
In isosceles triangle $\triangle ACD$, we have $AC = AD = 2\sqrt{3}$ and base $CD = 2$, so the altitude to $\overline{CD}$ is $\sqrt{(2\sqrt{3})^2 - 1^2} = \sqrt{11}$, giving $[\triangle ACD] = \dfrac{1}{2} \cdot 2 \cdot \sqrt{11} = \sqrt{11}$.
Diagonals $\overline{AC}$ and $\overline{AD}$ partition pentagon $ABCDE$ into $\triangle ABC$, $\triangle ACD$, and $\triangle ADE$, so the total area is
\[
\sqrt{3} + \sqrt{11} + \sqrt{3} = 2\sqrt{3} + \sqrt{11} = \sqrt{12} + \sqrt{11},
\]
and $m + n = 12 + 11 = 23$.
Question 21
Khó · +30 điểm
A square piece of paper has side length $1$ and vertices $A$, $B$, $C$, and $D$ in that order. As shown in the figure, the paper is folded so that vertex $C$ meets edge $\overline{AD}$ at point $C'$, and edge $\overline{AB}$ at point $E$. Suppose that $C'D = \dfrac{1}{3}$. What is the perimeter of triangle $\triangle AEC'$?
Xem đáp án và lời giải
Đáp án: $2$
Let $F$ be the point on $\overline{CD}$ where the crease meets $\overline{CD}$, so $CF = C'F$.
In right triangle $\triangle C'DF$, we have $C'D = \dfrac{1}{3}$ and $DF = 1 - C'F$. By the Pythagorean theorem,
\[
C'F^2 = \left(\dfrac{1}{3}\right)^2 + (1 - C'F)^2 \implies 2C'F = \dfrac{10}{9} \implies C'F = \dfrac{5}{9}, \quad DF = \dfrac{4}{9}.
\]
Because $\angle EC'F = \angle C = 90^\circ$, we have $\angle AC'E = 90^\circ - \angle DC'F = \angle C'FD$, so right triangles $\triangle AEC'$ and $\triangle C'DF$ are similar ($\triangle EAC' \sim \triangle C'DF$).
Using $AC' = 1 - \dfrac{1}{3} = \dfrac{2}{3}$, the similarity ratio is $\dfrac{AC'}{DF} = \dfrac{2/3}{4/9} = \dfrac{3}{2}$, so
\[
AE = \dfrac{3}{2} C'D = \dfrac{1}{2} \quad \text{and} \quad EC' = \dfrac{3}{2} C'F = \dfrac{5}{6}.
\]
Thus the perimeter of $\triangle AEC'$ is $\dfrac{1}{2} + \dfrac{2}{3} + \dfrac{5}{6} = 2$.
Question 22
Khó · +30 điểm
Ang, Ben, and Jasmin each have $5$ blocks, colored red, blue, yellow, white, and green; and there are $5$ empty boxes. Each of the people randomly and independently of the other two people places one of their blocks into each box. The probability that at least one box receives $3$ blocks all of the same color is $\dfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. What is $m + n$?
Xem đáp án và lời giải
Đáp án: $471$
Fix Ang's assignment without loss of generality, and label the boxes $1, 2, 3, 4, 5$ according to the color Ang placed in each.
Let $E_i$ be the event that both Ben and Jasmin place the same color as Ang into box $i$ ($1 \leqslant i \leqslant 5$).
For any subset $I$ of $j$ boxes ($1 \leqslant j \leqslant 5$), Ben independently maps those $j$ colors to those $j$ boxes with probability $\dfrac{(5 - j)!}{5!}$, and likewise for Jasmin, so
\[
\mathrm{P}\left(\bigcap_{i \in I} E_i\right) = \left(\dfrac{(5 - j)!}{5!}\right)^2.
\]
By the Inclusion–Exclusion Principle, the probability that at least one box receives $3$ blocks of the same color is
$$\begin{aligned}
\sum_{j=1}^{5} (-1)^{j-1} \mathrm{C}_5^j \left(\dfrac{(5 - j)!}{5!}\right)^2
&= \sum_{j=1}^{5} (-1)^{j-1} \dfrac{(5 - j)!}{j!\,5!} \\
&= \dfrac{24}{120} - \dfrac{6}{240} + \dfrac{2}{720} - \dfrac{1}{2880} + \dfrac{1}{14400} \\
&= \dfrac{2880 - 360 + 40 - 5 + 1}{14400} = \dfrac{2556}{14400} = \dfrac{71}{400}.
\end{aligned}$$
Since $\gcd(71, 400) = 1$, we have $m + n = 71 + 400 = 471$.
Question 23
Cực khó · +50 điểm
A square with side length $8$ is colored white except for $4$ black isosceles right triangular regions with legs of length $2$ in each corner of the square and a black diamond with side length $2\sqrt{2}$ in the center of the square, as shown in the diagram. A circular coin with diameter $1$ is dropped onto the square and lands in a random location where the coin is completely contained within the square. The probability that the coin will cover part of the black region of the square can be written as $\dfrac{1}{196}(a + b\sqrt{2} + \pi)$ where $a$ and $b$ are positive integers. What is $a + b$?
Xem đáp án và lời giải
Đáp án: $68$
Place the $8 \times 8$ square as $[0, 8]^2$. For the coin of radius $r = \dfrac{1}{2}$ to lie completely inside $[0, 8]^2$, its center $(x, y)$ must be chosen uniformly from the $7 \times 7$ square $[0.5, 7.5]^2$ of area $49$.
The coin covers part of the black region if and only if $(x, y)$ lies within distance $\dfrac{1}{2}$ of either the $4$ corner triangles or the central diamond (note that the minimum distance between a corner triangle and the central diamond is $2\sqrt{2} > 1$, so these neighborhoods are disjoint).
Corner triangles: For the bottom-left triangle ($x, y \geqslant 0, x + y \leqslant 2$), the points in $[0.5, 7.5]^2$ within distance $\dfrac{1}{2}$ satisfy $x \geqslant \dfrac{1}{2}$, $y \geqslant \dfrac{1}{2}$, and $x + y \leqslant 2 + \dfrac{\sqrt{2}}{2}$ (the rounded neighborhoods at $(2, 0)$ and $(0, 2)$ lie below $y = \dfrac{1}{2}$ and left of $x = \dfrac{1}{2}$, respectively, except at single tangent points). This forms a right triangle with leg length $1 + \dfrac{\sqrt{2}}{2}$ and area $\dfrac{1}{2}\left(1 + \dfrac{\sqrt{2}}{2}\right)^2 = \dfrac{3}{4} + \dfrac{\sqrt{2}}{2}$. All $4$ corners together have area $4\left(\dfrac{3}{4} + \dfrac{\sqrt{2}}{2}\right) = 3 + 2\sqrt{2}$.
Central diamond: The neighborhood within distance $\dfrac{1}{2}$ of the square of side $2\sqrt{2}$ consists of the square itself (area $(2\sqrt{2})^2 = 8$), four $0.5 \times 2\sqrt{2}$ rectangles along its sides (area $4 \cdot \dfrac{1}{2} \cdot 2\sqrt{2} = 4\sqrt{2}$), and four quarter-disks of radius $\dfrac{1}{2}$ at its corners (area $\pi \left(\dfrac{1}{2}\right)^2 = \dfrac{\pi}{4}$), giving area $8 + 4\sqrt{2} + \dfrac{\pi}{4}$.
Combining both parts gives total area $11 + 6\sqrt{2} + \dfrac{\pi}{4}$, so the probability is
\[
\dfrac{11 + 6\sqrt{2} + \dfrac{\pi}{4}}{49} = \dfrac{1}{196}(44 + 24\sqrt{2} + \pi),
\]
and $a + b = 44 + 24 = 68$.
Question 24
Cực khó · +50 điểm
Arjun and Beth play a game in which they take turns removing one brick or two adjacent bricks from one “wall” among a set of several walls of bricks, with gaps possibly creating new walls. The walls are one brick tall. For example, a set of walls of sizes $4$ and $2$ can be changed into any of the following by one move: $(3, 2)$, $(2, 1, 2)$, $(4)$, $(4, 1)$, $(2, 2)$, or $(1, 1, 2)$.
Arjun plays first, and the player who removes the last brick wins. For which starting configuration is there a strategy that guarantees a win for Beth?
Xem đáp án và lời giải
Đáp án: $(6, 2, 1)$
Using Sprague–Grundy values $g(n)$ for a single wall of size $n$ (where $g(n) = \operatorname{mex}$ of the nim-sums of resulting walls, and $\oplus$ denotes bitwise XOR):
The second player (Beth) has a winning strategy if and only if the nim-sum of the walls is $0$. Computing the nim-sum for each option using $g(6) = 3, g(1) = 1, g(2) = 2, g(3) = 3$:
$(6, 1, 1)$: $3 \oplus 1 \oplus 1 = 3 \ne 0$,
$(6, 2, 1)$: $3 \oplus 2 \oplus 1 = 0$,
$(6, 2, 2)$: $3 \oplus 2 \oplus 2 = 3 \ne 0$,
$(6, 3, 1)$: $3 \oplus 3 \oplus 1 = 1 \ne 0$,
$(6, 3, 2)$: $3 \oplus 3 \oplus 2 = 2 \ne 0$.
Hence Beth wins from $(6, 2, 1)$.
Question 25
Cực khó · +50 điểm
Let $S$ be the set of lattice points in the coordinate plane, both of whose coordinates are integers between $1$ and $30$, inclusive. Exactly $300$ points in $S$ lie on or below a line with equation $y = mx$. The possible values of $m$ lie in an interval of length $\dfrac{a}{b}$, where $a$ and $b$ are relatively prime positive integers. What is $a + b$?
Xem đáp án và lời giải
Đáp án: $85$
A point $(x, y) \in \{1, \ldots, 30\}^2$ lies on or below $y = mx$ if and only if $\dfrac{y}{x} \leqslant m$.
Check the slope $m = \dfrac{2}{3}$: the number of points with $y \leqslant \dfrac{2}{3}x$ is $\sum_{x=1}^{30} \left\lfloor \dfrac{2x}{3} \right\rfloor$. In each block of three consecutive integers $x = 3k - 2, 3k - 1, 3k$, the floors are $(2k - 2) + (2k - 1) + 2k = 6k - 3$. Summing over $k = 1, \ldots, 10$ gives
\[
\sum_{k=1}^{10} (6k - 3) = 6 \cdot 55 - 30 = 300.
\]
Since points $(3k, 2k)$ ($1 \leqslant k \leqslant 10$) lie on $y = \dfrac{2}{3}x$, any $m < \dfrac{2}{3}$ leaves fewer than $300$ points on or below the line, so the left endpoint of the valid interval is $\dfrac{2}{3}$ (inclusive).
The right endpoint (exclusive) is the smallest slope $\dfrac{p}{q} > \dfrac{2}{3}$ among points $(q, p) \in S$, which minimizes $\dfrac{p}{q} - \dfrac{2}{3} = \dfrac{3p - 2q}{3q}$. Since $3p - 2q \geqslant 1$, this minimum occurs when $3p - 2q = 1$ and $q \leqslant 30$ is as large as possible.
Reducing $2q \equiv -1 \pmod 3$ gives $q \equiv 1 \pmod 3$, so the largest $q \leqslant 30$ is $q = 28$ (with $p = 19$).
Thus the valid interval is $\left[\dfrac{2}{3}, \dfrac{19}{28}\right)$, which has length
\[
\dfrac{19}{28} - \dfrac{2}{3} = \dfrac{57 - 56}{84} = \dfrac{1}{84},
\]
and $a + b = 1 + 84 = 85$.