What value of $x$ satisfies
\[
x - \dfrac{3}{4} = \dfrac{5}{12} - \dfrac{1}{3}?
\]
Xem đáp án và lời giải
Đáp án: $\dfrac{5}{6}$
Combining the fractions on the right-hand side gives
\[
x - \dfrac{3}{4} = \dfrac{5}{12} - \dfrac{4}{12} = \dfrac{1}{12}.
\]
Adding $\dfrac{3}{4} = \dfrac{9}{12}$ to both sides yields
\[
x = \dfrac{1}{12} + \dfrac{9}{12} = \dfrac{10}{12} = \dfrac{5}{6}.
\]
Question 2
Dễ · +10 điểm
The numbers $3$, $5$, $7$, $a$, and $b$ have an average (arithmetic mean) of $15$. What is the average of $a$ and $b$?
Xem đáp án và lời giải
Đáp án: $30$
Because the five numbers have an average of $15$, their sum is $5 \cdot 15 = 75$:
\[
3 + 5 + 7 + a + b = 75 \implies 15 + a + b = 75 \implies a + b = 60.
\]
Therefore, the average of $a$ and $b$ is $\dfrac{a + b}{2} = \dfrac{60}{2} = 30$.
Question 3
Dễ · +10 điểm
Assuming $a \ne 3$, $b \ne 4$, and $c \ne 5$, what is the value in simplest form of the following expression?
\[
\dfrac{a-3}{5-c} \cdot \dfrac{b-4}{3-a} \cdot \dfrac{c-5}{4-b}
\]
Xem đáp án và lời giải
Đáp án: $-1$
Rearranging the denominators so that opposite factors cancel out gives
\[
\dfrac{a-3}{3-a} \cdot \dfrac{b-4}{4-b} \cdot \dfrac{c-5}{5-c} = (-1) \cdot (-1) \cdot (-1) = -1.
\]
Question 4
Dễ · +10 điểm
A driver travels for $2$ hours at $60$ miles per hour, during which her car gets $30$ miles per gallon of gasoline. She is paid $0.50$ dollars per mile, and her only expense is gasoline at $2.00$ dollars per gallon. What is her net rate of pay, in dollars per hour, after this expense?
Xem đáp án và lời giải
Đáp án: $26$
In $2$ hours at $60$ miles per hour, the driver travels $2 \cdot 60 = 120$ miles.
Her gross pay is $120 \cdot 0.50 = 60$ dollars.
The car consumes $\dfrac{120}{30} = 4$ gallons of gasoline, costing $4 \cdot 2.00 = 8$ dollars.
Her net pay is $60 - 8 = 52$ dollars over $2$ hours, so her net rate of pay is $\dfrac{52}{2} = 26$ dollars per hour.
Question 5
Dễ · +10 điểm
What is the sum of all real numbers $x$ for which
\[
|x^2 - 12x + 34| = 2?
\]
Xem đáp án và lời giải
Đáp án: $18$
The equation $|x^2 - 12x + 34| = 2$ splits into two cases:
Case 1: $x^2 - 12x + 34 = 2 \iff x^2 - 12x + 32 = 0 \iff (x-4)(x-8) = 0$, which has real roots $x = 4$ and $x = 8$.
Case 2: $x^2 - 12x + 34 = -2 \iff x^2 - 12x + 36 = 0 \iff (x-6)^2 = 0$, which has the unique real root $x = 6$.
The sum of all distinct real solutions is $4 + 8 + 6 = 18$.
Question 6
Dễ · +10 điểm
How many $4$-digit positive integers (that is, integers between $1000$ and $9999$, inclusive) having only even digits are divisible by $5$?
Xem đáp án và lời giải
Đáp án: $100$
An integer is divisible by $5$ if and only if its units digit is $0$ or $5$. Since all digits must be even, the units digit must be $0$.
The thousands digit can be any nonzero even digit ($2, 4, 6,$ or $8$, giving $4$ choices).
The hundreds and tens digits can each be any even digit ($0, 2, 4, 6,$ or $8$, giving $5$ choices each).
Thus there are $4 \cdot 5 \cdot 5 \cdot 1 = 100$ such integers.
Question 7
Dễ · +10 điểm
The $25$ integers from $-10$ to $14$ inclusive, can be arranged to form a $5$-by-$5$ square in which the sum of the numbers in each row, the sum of the numbers in each column, and the sum of the numbers along each of the main diagonals are all the same. What is the value of this common sum?
Xem đáp án và lời giải
Đáp án: $10$
The sum of all $25$ integers from $-10$ to $14$ is
\[
\dfrac{25 \cdot (-10 + 14)}{2} = 25 \cdot 2 = 50.
\]
Since the $5$ rows partition the $25$ entries and each row has the same sum, the common sum is $\dfrac{50}{5} = 10$.
Question 8
Dễ · +10 điểm
What is the value of
\[
1 + 2 + 3 - 4 + 5 + 6 + 7 - 8 + \cdots + 197 + 198 + 199 - 200?
\]
Xem đáp án và lời giải
Đáp án: $9{,}900$
Grouping the $200$ terms into $50$ blocks of $4$ consecutive terms gives
\[
(1+2+3-4) + (5+6+7-8) + \cdots + (197+198+199-200) = 2 + 10 + 18 + \cdots + 394.
\]
This is an arithmetic series with $50$ terms, first term $2$, and last term $394$, so its sum is
\[
50 \cdot \dfrac{2 + 394}{2} = 50 \cdot 198 = 9{,}900.
\]
Question 9
Trung bình · +20 điểm
A single bench section at a school event can hold either $7$ adults or $11$ children. When $N$ bench sections are connected end to end, an equal number of adults and children seated together will occupy all the bench space. What is the least possible positive integer value of $N$?
Xem đáp án và lời giải
Đáp án: $18$
Suppose $k$ adults and $k$ children fill all $N$ bench sections. Each adult occupies $\dfrac{1}{7}$ of a section and each child occupies $\dfrac{1}{11}$ of a section, so
\[
\dfrac{k}{7} + \dfrac{k}{11} = N \implies \dfrac{18k}{77} = N.
\]
Since $\gcd(18, 77) = 1$, $77$ must divide $k$, and therefore $18$ must divide $N$. Taking $k = 77$ gives the least positive integer value $N = 18$.
Question 10
Trung bình · +20 điểm
Seven cubes, whose volumes are $1$, $8$, $27$, $64$, $125$, $216$, and $343$ cubic units, are stacked vertically to form a tower in which the volumes of the cubes decrease from bottom to top. Except for the bottom cube, the bottom face of each cube lies completely on top of the cube below it. What is the total surface area of the tower (including the bottom) in square units?
Xem đáp án và lời giải
Đáp án: $658$
The side lengths of the cubes are $1, 2, 3, 4, 5, 6,$ and $7$.
Each cube contributes $4$ vertical side faces to the total surface area, giving
\[
4(1^2 + 2^2 + 3^2 + 4^2 + 5^2 + 6^2 + 7^2) = 4 \cdot \dfrac{7 \cdot 8 \cdot 15}{6} = 4 \cdot 140 = 560.
\]
Viewed from directly above, the exposed horizontal faces sum to the area of the largest base, $7^2 = 49$. Including the bottom face of area $7^2 = 49$, the horizontal faces contribute $2 \cdot 49 = 98$.
Hence the total surface area is $560 + 98 = 658$ square units.
Question 11
Trung bình · +20 điểm
What is the median of the following list of $4040$ numbers?
\[
1, 2, 3, \ldots, 2020, 1^2, 2^2, 3^2, \ldots, 2020^2
\]
Xem đáp án và lời giải
Đáp án: $1976.5$
Since there are $4040$ numbers in the list, the median is the average of the $2020$th and $2021$st numbers when sorted in nondecreasing order.
Notice that $44^2 = 1936 < 2020 < 2025 = 45^2$, so exactly $44$ of the squares ($1^2, 2^2, \ldots, 44^2$) are less than or equal to $2020$.
Because $1936 < 1976$, all $44$ of those squares appear before $1976$ in the sorted list.
Counting up to the $2020$th and $2021$st entries, $1976$ has rank $1976 + 44 = 2020$, and $1977$ has rank $1977 + 44 = 2021$.
Thus the median is $\dfrac{1976 + 1977}{2} = 1976.5$.
Question 12
Trung bình · +20 điểm
Triangle $AMC$ is isosceles with $AM = AC$. Medians $\overline{MV}$ and $\overline{CU}$ are perpendicular to each other, and $MV = CU = 12$. What is the area of $\triangle AMC$?
Xem đáp án và lời giải
Đáp án: $96$
Let $G$ be the centroid of $\triangle AMC$, which is the intersection of medians $\overline{MV}$ and $\overline{CU}$.
Because the centroid divides each median in a $2:1$ ratio from the vertex, we have
\[
MG = \dfrac{2}{3} MV = \dfrac{2}{3}(12) = 8 \quad \text{and} \quad CG = \dfrac{2}{3} CU = \dfrac{2}{3}(12) = 8.
\]
Since $\overline{MV} \perp \overline{CU}$, the area of $\triangle MGC$ is $\dfrac{1}{2} \cdot MG.CG = \dfrac{1}{2} \cdot 8 \cdot 8 = 32$.
The centroid divides $\triangle AMC$ into three triangles of equal area, so
\[
[\triangle AMC] = 3[\triangle MGC] = 3 \cdot 32 = 96.
\]
Question 13
Trung bình · +20 điểm
A frog sitting at the point $(1, 2)$ begins a sequence of jumps, where each jump is parallel to one of the coordinate axes and has length $1$, and the direction of each jump (up, down, right, or left) is chosen independently at random. The sequence ends when the frog reaches a side of the square with vertices $(0, 0)$, $(0, 4)$, $(4, 4)$, and $(4, 0)$. What is the probability that the sequence of jumps ends on a vertical side of the square?
Xem đáp án và lời giải
Đáp án: $\dfrac{5}{8}$
Let $p(x,y)$ be the probability that the frog ends on a vertical side ($x = 0$ or $x = 4$) starting from $(x,y)$.
By symmetry across the diagonals $y = x$ and $y = 4 - x$, reflecting the square swaps vertical and horizontal sides, so
\[
p(2, 2) = p(1, 1) = p(1, 3) = \dfrac{1}{2}.
\]
From $(1, 2)$, the frog moves with probability $\dfrac{1}{4}$ to each of $(0, 2)$, $(2, 2)$, $(1, 3)$, and $(1, 1)$. Since $(0, 2)$ is on a vertical side ($p(0, 2) = 1$), we obtain
\[
p(1, 2) = \dfrac{1}{4}\bigl(p(0, 2) + p(2, 2) + p(1, 3) + p(1, 1)\bigr) = \dfrac{1}{4}\left(1 + \dfrac{1}{2} + \dfrac{1}{2} + \dfrac{1}{2}\right) = \dfrac{5}{8}.
\]
Question 14
Trung bình · +20 điểm
Real numbers $x$ and $y$ satisfy $x + y = 4$ and $x \cdot y = -2$. What is the value of
\[
x + \dfrac{x^3}{y^2} + \dfrac{y^3}{x^2} + y?
\]
A positive integer divisor of $12!$ is chosen at random. The probability that the divisor chosen is a perfect square can be expressed as $\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: $23$
First find the prime factorization of $12!$:
\[
12! = 2^{10} \cdot 3^5 \cdot 5^2 \cdot 7^1 \cdot 11^1.
\]
A divisor $2^a 3^b 5^c 7^d 11^e$ of $12!$ is determined independently by choosing $a \in \{0, \ldots, 10\}$ ($11$ choices), $b \in \{0, \ldots, 5\}$ ($6$ choices), $c \in \{0, 1, 2\}$ ($3$ choices), $d \in \{0, 1\}$ ($2$ choices), and $e \in \{0, 1\}$ ($2$ choices).
For the divisor to be a perfect square, each exponent must be even, leaving $6$ choices for $a$, $3$ for $b$, $2$ for $c$, $1$ for $d$, and $1$ for $e$.
Thus the probability is
\[
\dfrac{6 \cdot 3 \cdot 2 \cdot 1 \cdot 1}{11 \cdot 6 \cdot 3 \cdot 2 \cdot 2} = \dfrac{1}{22},
\]
so $m + n = 1 + 22 = 23$.
Question 16
Trung bình · +20 điểm
A point is chosen at random within the square in the coordinate plane whose vertices are $(0, 0)$, $(2020, 0)$, $(2020, 2020)$, and $(0, 2020)$. The probability that the point is within $d$ units of a lattice point is $\dfrac{1}{2}$. (A point $(x, y)$ is a lattice point if $x$ and $y$ are both integers.) What is $d$ to the nearest tenth?
Xem đáp án và lời giải
Đáp án: $0.4$
Partition the $2020 \times 2020$ square into $2020^2$ unit squares whose vertices are lattice points. By periodicity, the probability within the large square equals the probability within a single unit square $[0, 1]^2$.
As long as $d \leqslant 0.5$, the disks of radius $d$ centered at the four corners of $[0, 1]^2$ do not overlap and together form four quarter-disks, whose total area is $\pi d^2$.
Setting this equal to $\dfrac{1}{2}$ gives
\[
\pi d^2 = \dfrac{1}{2} \implies d^2 = \dfrac{1}{2\pi} \approx 0.1592 \implies d \approx 0.399.
\]
Since $0.399 < 0.5$, the assumption holds, and $d$ to the nearest tenth is $0.4$.
Question 17
Trung bình · +20 điểm
Define
\[
P(x) = (x - 1^2)(x - 2^2) \cdots (x - 100^2).
\]
How many integers $n$ are there such that $P(n) \leqslant 0$?
Xem đáp án và lời giải
Đáp án: $5100$
First, $P(n) = 0$ at the $100$ perfect squares $n = 1^2, 2^2, \ldots, 100^2$.
For $n > 100^2$, all $100$ factors are positive, so $P(n) > 0$. For $n < 1^2$, all $100$ factors are negative, so $P(n) > 0$.
In each open interval $(k^2, (k+1)^2)$ for $1 \leqslant k \leqslant 99$, exactly $100 - k$ factors are negative, so $P(n) < 0$ if and only if $100 - k$ is odd, meaning $k$ is odd ($k = 1, 3, 5, \ldots, 99$).
The number of integers strictly between $k^2$ and $(k+1)^2$ is $(k+1)^2 - k^2 - 1 = 2k$.
Summing over the $50$ odd values of $k$ gives
\[
\sum_{j=1}^{50} 2(2j - 1) = 2 \cdot 50^2 = 5000.
\]
Including the $100$ roots gives $5000 + 100 = 5100$ integers.
Question 18
Khó · +30 điểm
Let $(a, b, c, d)$ be an ordered quadruple of not necessarily distinct integers, each one of them in the set $\{0, 1, 2, 3\}$. For how many such quadruples is it true that $a \cdot d - b \cdot c$ is odd? (For example, $(0, 3, 1, 1)$ is one such quadruple, because $0 \cdot 1 - 3 \cdot 1 = -3$ is odd.)
Xem đáp án và lời giải
Đáp án: $96$
For $a \cdot d - b \cdot c$ to be odd, exactly one of $a \cdot d$ and $b \cdot c$ must be odd and the other must be even.
Among the $4 \cdot 4 = 16$ ordered pairs $(x, y) \in \{0, 1, 2, 3\}^2$, the product $xy$ is odd if and only if both $x, y \in \{1, 3\}$, which occurs in $2 \cdot 2 = 4$ pairs; thus $xy$ is even in the remaining $16 - 4 = 12$ pairs.
Therefore, there are $4 \cdot 12 = 48$ quadruples with $ad$ odd and $bc$ even, and $12 \cdot 4 = 48$ quadruples with $ad$ even and $bc$ odd, for a total of $48 + 48 = 96$ quadruples.
Question 19
Khó · +30 điểm
As shown in the figure below, a regular dodecahedron (the polyhedron consisting of $12$ congruent regular pentagonal faces) floats in space with two horizontal faces. Note that there is a ring of five slanted faces adjacent to the top face, and a ring of five slanted faces adjacent to the bottom face. How many ways are there to move from the top face to the bottom face via a sequence of adjacent faces so that each face is visited at most once and moves are not permitted from the bottom ring to the top ring?
Xem đáp án và lời giải
Đáp án: $810$
Since moves from the bottom ring back to the top ring are forbidden and faces cannot be revisited, any valid path consists of:
1. Stepping from the top face to one of the $5$ faces in the top ring ($5$ choices).
2. Moving along a simple path within the $5$-cycle of the top ring: we may stay at the entry face ($1$ choice) or walk $1, 2, 3,$ or $4$ steps either clockwise or counterclockwise ($4 + 4 = 8$ choices), giving $9$ ways to exit the top ring.
3. Stepping from the last visited top-ring face to one of its $2$ adjacent bottom-ring faces ($2$ choices).
4. Moving along a simple path within the $5$-cycle of the bottom ring before stepping to the bottom face: by the same count, there are $9$ ways.
By the multiplication principle, the total number of valid paths is $5 \cdot 9 \cdot 2 \cdot 9 = 810$.
Question 20
Khó · +30 điểm
Quadrilateral $ABCD$ satisfies $\angle ABC = \angle ACD = 90^\circ$, $AC = 20$, and $CD = 30$. Diagonals $\overline{AC}$ and $\overline{BD}$ intersect at point $E$, and $AE = 5$. What is the area of quadrilateral $ABCD$?
Xem đáp án và lời giải
Đáp án: $360$
Place the quadrilateral in the coordinate plane with $C = (0, 0)$, $A = (0, 20)$, and $D = (30, 0)$ (since $\angle ACD = 90^\circ$).
Because $E$ lies on segment $\overline{AC}$ with $AE = 5$, we have $E = (0, 15)$.
Line $DE$ passes through $(30, 0)$ and $(0, 15)$, so its equation is $x + 2y = 30$, or $x = 30 - 2y$.
Since $\angle ABC = 90^\circ$, $B$ lies on the circle with diameter $\overline{AC}$, which has equation $x^2 + (y - 10)^2 = 100$. Moreover, $B$ lies on the opposite side of line $AC$ from $D$ so that $E$ lies on segment $\overline{BD}$, meaning $x_B < 0$.
Substituting $x = 30 - 2y$ into the circle equation gives
\[
(30 - 2y)^2 + (y - 10)^2 = 100 \implies 5y^2 - 140y + 900 = 0 \implies (y - 10)(y - 18) = 0.
\]
For $y = 10$ we get $x = 10 > 0$ (rejected), while for $y = 18$ we get $x = -6 < 0$, so $B = (-6, 18)$.
The altitude from $B$ to $\overline{AC}$ has length $|x_B| = 6$, so
\[
[ABCD] = [\triangle ABC] + [\triangle ACD] = \dfrac{1}{2} \cdot 20 \cdot 6 + \dfrac{1}{2} \cdot 20 \cdot 30 = 60 + 300 = 360.
\]
Question 21
Khó · +30 điểm
There exists a unique strictly increasing sequence of nonnegative integers $a_1 < a_2 < \cdots < a_k$ such that
\[
\dfrac{2^{289} + 1}{2^{17} + 1} = 2^{a_1} + 2^{a_2} + \cdots + 2^{a_k}.
\]
What is $k$?
Xem đáp án và lời giải
Đáp án: $137$
Let $x = 2^{17}$. Since $289 = 17^2$, we have
\[
\dfrac{x^{17} + 1}{x + 1} = x^{16} - x^{15} + x^{14} - x^{13} + \cdots + x^2 - x + 1.
\]
Grouping consecutive pairs of terms gives
\[
\sum_{m=1}^{8} (x^{2m} - x^{2m-1}) + 1 = \sum_{m=1}^{8} x^{2m-1}(x - 1) + 1.
\]
Notice that $x - 1 = 2^{17} - 1 = 2^{16} + 2^{15} + \cdots + 2^0$ is the sum of $17$ distinct powers of $2$.
Multiplying by $x^{2m-1} = 2^{17(2m-1)}$ shifts the exponents of that block to $[34m - 17, 34m - 1]$, which are pairwise disjoint for $m = 1, 2, \ldots, 8$ and strictly greater than $0$.
Together with the constant term $1 = 2^0$, the binary expansion has
\[
k = 8 \cdot 17 + 1 = 137
\]
distinct powers of $2$.
Question 22
Khó · +30 điểm
For how many positive integers $n \leqslant 1000$ is
\[
\left\lfloor \dfrac{998}{n} \right\rfloor + \left\lfloor \dfrac{999}{n} \right\rfloor + \left\lfloor \dfrac{1000}{n} \right\rfloor
\]
not divisible by $3$? (Recall that $\lfloor x \rfloor$ is the greatest integer less than or equal to $x$.)
Xem đáp án và lời giải
Đáp án: $22$
For $n = 1$, the sum is $998 + 999 + 1000 = 2997$, which is divisible by $3$.
Assume $2 \leqslant n \leqslant 1000$, and write $999 = qn + r$ with $0 \leqslant r < n$.
If $r = 0$ (meaning $n \mid 999$), then $\left\lfloor\dfrac{998}{n}\right\rfloor = q - 1$, $\left\lfloor\dfrac{999}{n}\right\rfloor = q$, and $\left\lfloor\dfrac{1000}{n}\right\rfloor = q$, so the sum is $3q - 1 \not\equiv 0 \pmod 3$.
If $r = n - 1$ (meaning $n \mid 1000$), then the three floors are $q$, $q$, and $q + 1$, so the sum is $3q + 1 \not\equiv 0 \pmod 3$.
If $1 \leqslant r \leqslant n - 2$, then all three floors equal $q$, so the sum is $3q \equiv 0 \pmod 3$.
Since $\gcd(999, 1000) = 1$, no integer $n \geqslant 2$ divides both. Because $999 = 3^3 \cdot 37$ has $4 \cdot 2 - 1 = 7$ divisors $\geqslant 2$, and $1000 = 2^3 \cdot 5^3$ has $4 \cdot 4 - 1 = 15$ divisors $\geqslant 2$, the total count is $7 + 15 = 22$.
Question 23
Cực khó · +50 điểm
Let $T$ be the triangle in the coordinate plane with vertices $(0, 0)$, $(4, 0)$, and $(0, 3)$. Consider the following five isometries (rigid transformations) of the plane: rotations of $90^\circ$, $180^\circ$, and $270^\circ$ counterclockwise around the origin, reflection across the $x$-axis, and reflection across the $y$-axis. How many of the $125$ sequences of three of these transformations (not necessarily distinct) will return $T$ to its original position? (For example, a $180^\circ$ rotation, followed by a reflection across the $x$-axis, followed by a reflection across the $y$-axis will return $T$ to its original position, but a $90^\circ$ rotation, followed by a reflection across the $x$-axis, followed by another reflection across the $x$-axis will not return $T$ to its original position.)
Xem đáp án và lời giải
Đáp án: $12$
Since $T$ has side lengths $3, 4, 5$, no non-identity isometry of the plane maps $T$ to itself. Thus a sequence of three transformations returns $T$ to its original position if and only if their composition is the identity $I$.
Let $R_{90}, R_{180}, R_{270}$ be the three rotations and $F_x, F_y$ be the two reflections. Any composition of three transformations that equals $I$ must contain an even number of reflections: either $0$ reflections or $2$ reflections.
$0$ reflections: We choose three rotations with angles $90^\circ a, 90^\circ b, 90^\circ c$ ($a, b, c \in \{1, 2, 3\}$) such that $a + b + c \equiv 0 \pmod 4$. Among the $9$ pairs $(a, b) \in \{1, 2, 3\}^2$, the $3$ pairs $(1, 3), (3, 1), (2, 2)$ satisfy $a + b \equiv 0 \pmod 4$ (forcing $c \equiv 0$, invalid), while each of the remaining $6$ pairs uniquely determines a valid $c \in \{1, 2, 3\}$. This gives $6$ sequences.
$2$ reflections and $1$ rotation: Note that $F_x^2 = F_y^2 = I$ and $F_x F_y = F_y F_x = R_{180}$, and $R_{180}$ commutes with both $F_x$ and $F_y$. Regardless of which of the $3$ positions holds the rotation $r$, the product equals $I$ if and only if $r$ equals the inverse of the product of the two reflections. Since $I$ is not among the $5$ allowed transformations, the two reflections must be $\{F_x, F_y\}$ in either order ($2$ choices) and the rotation must be $R_{180}$. This gives $3 \cdot 2 = 6$ sequences.
In total, there are $6 + 6 = 12$ valid sequences.
Question 24
Cực khó · +50 điểm
Let $n$ be the least positive integer greater than $1000$ for which
\[
\gcd(63, n + 120) = 21 \quad \text{and} \quad \gcd(n + 63, 120) = 60.
\]
What is the sum of the digits of $n$?
Xem đáp án và lời giải
Đáp án: $18$
From $\gcd(n + 63, 120) = 60$, we can write $n + 63 = 60k$ for some odd positive integer $k$ (since $120 = 2 \cdot 60$, $k$ cannot be even). Thus $n = 60k - 63$.
Substituting into the first condition gives
\[
n + 120 = 60k + 57 = 3(20k + 19).
\]
Since $\gcd(63, 3(20k + 19)) = 21 = 3 \cdot 7$, we must have $7 \mid (20k + 19)$ and $3 \nmid (20k + 19)$.
Reducing modulo $7$ gives $6k + 5 \equiv 0 \pmod 7 \implies k \equiv 5 \pmod 7$.
Combining $k \equiv 5 \pmod 7$ with $k$ odd gives $k \equiv 5 \pmod{14}$.
Reducing modulo $3$ gives $2k + 1 \not\equiv 0 \pmod 3 \implies k \not\equiv 1 \pmod 3$.
Since $n > 1000$, we require $60k - 63 > 1000 \implies k \geqslant 18$.
Testing $k \equiv 5 \pmod{14}$ with $k \geqslant 18$: $k = 19$ fails because $19 \equiv 1 \pmod 3$; the next value $k = 33$ satisfies $33 \equiv 0 \not\equiv 1 \pmod 3$.
Therefore $n = 60 \cdot 33 - 63 = 1917$, whose digit sum is $1 + 9 + 1 + 7 = 18$.
Question 25
Cực khó · +50 điểm
Jason rolls three fair standard six-sided dice. Then he looks at the rolls and chooses a subset of the dice (possibly empty, possibly all three dice) to reroll. After rerolling, he wins if and only if the sum of the numbers face up on the three dice is exactly $7$. Jason always plays to optimize his chances of winning. What is the probability that he chooses to reroll exactly two of the dice?
Xem đáp án và lời giải
Đáp án: $\dfrac{7}{36}$
Let the initial sorted roll be $1 \leqslant a \leqslant b \leqslant c \leqslant 6$. Compare the win probabilities of each reroll choice:
Rerolling $0$ dice wins with probability $1$ if $a + b + c = 7$, and $0$ otherwise.
Rerolling $1$ die (keeping two dice summing to $s$) wins with probability $\dfrac{1}{6} = \dfrac{36}{216}$ if $1 \leqslant 7 - s \leqslant 6$ (i.e., $s \leqslant 6$), and $0$ otherwise.
Rerolling $2$ dice (keeping one die of value $k$) requires the two rerolled dice to sum to $7 - k$. For $k = 1, 2, 3, 4, 5, 6$, the win probabilities are $\dfrac{5}{36}, \dfrac{4}{36}, \dfrac{3}{36}, \dfrac{2}{36}, \dfrac{1}{36}, 0$, respectively.
Rerolling all $3$ dice wins with probability $\dfrac{\mathrm{C}_6^2}{216} = \dfrac{15}{216} = \dfrac{2.5}{36}$.
Notice that $\dfrac{1}{6} > \dfrac{5}{36}$ and $\dfrac{3}{36} > \dfrac{2.5}{36} > \dfrac{2}{36}$. Thus Jason rerolls exactly $2$ dice if and only if $a + b + c \ne 7$, no two dice have sum $\leqslant 6$ (so $a + b \geqslant 7$), and at least one die is at most $3$ (so $a \leqslant 3$).
Note that $a \leqslant 3$ and $a + b \geqslant 7$ already imply $a + b + c \geqslant 7 + c > 7$. Counting triples $(a, b, c)$ with $1 \leqslant a \leqslant 3$, $a + b \geqslant 7$, and $b \leqslant c \leqslant 6$ along with their permutations: