A list of $2018$ positive integers has a unique mode, which occurs exactly $10$ times. What is the least number of distinct values that can occur in the list?
Xem đáp án và lời giải
Đáp án: $225$
Let $N = 2018$ be the total number of integers in the list.
The mode occurs $10$ times.
Because the mode is unique, every other distinct integer in the list can appear at most $9$ times.
To minimize the total number of distinct values, we should maximize the frequency of each other value, meaning as many other values as possible should appear $9$ times.
After accounting for the mode ($1$ value with $10$ occurrences), there remain
\[
2018 - 10 = 2008\text{ numbers}.
\]
Dividing $2008$ by $9$:
\[
2008 = 9 \times 223 + 1.
\]
This means there can be $223$ distinct values each appearing $9$ times, and $1$ additional value appearing once (or some frequencies can be $8$ and $2$, etc.).
In either case, the remaining $2008$ elements require at least
\[
223 + 1 = 224\text{ distinct values}.
\]
Including the mode, the least number of distinct values in the list is
\[
1 + 224 = 225.
\]
A child builds towers using identically shaped cubes of different colors. How many different towers with a height of $8$ cubes can the child build with $2$ red cubes, $3$ blue cubes, and $4$ green cubes? (One cube will be left out.)
Xem đáp án và lời giải
Đáp án: $1260$
Exactly one of the $9$ cubes is omitted. We consider three cases according to the color of the omitted cube:
Omit $1$ red: remaining cubes are $1$ red, $3$ blue, $4$ green. Number of towers is $\dfrac{8!}{1! 3! 4!} = 280$.
Omit $1$ blue: remaining cubes are $2$ red, $2$ blue, $4$ green. Number of towers is $\dfrac{8!}{2! 2! 4!} = 420$.
Omit $1$ green: remaining cubes are $2$ red, $3$ blue, $3$ green. Number of towers is $\dfrac{8!}{2! 3! 3!} = 560$.
Total number of distinct towers is $280 + 420 + 560 = 1260$.
What is the sum of all real numbers $x$ for which the median of the numbers $4, 6, 8, 17$, and $x$ is equal to the mean of those five numbers?
Xem đáp án và lời giải
Đáp án: $-5$
The mean of the five numbers is
\[
\mu = \dfrac{4 + 6 + 8 + 17 + x}{5} = \dfrac{35 + x}{5} = 7 + \dfrac{x}{5}.
\]
The median $M$ depends on $x$:
If $x \leqslant 6$: the sorted list has $6$ as the middle element, so $M = 6$. Setting $\mu = M$: \[ 7 + \dfrac{x}{5} = 6 \implies \dfrac{x}{5} = -1 \implies x = -5. \] This satisfies $x \leqslant 6$.
If $6 \leqslant x \leqslant 8$: the median is $x$. Setting $\mu = M$: \[ 7 + \dfrac{x}{5} = x \implies \dfrac{4}{5}x = 7 \implies x = \dfrac{35}{4} = 8.75. \] This contradicts $6 \leqslant x \leqslant 8$, so no solution here.
If $x \geqslant 8$: the median is $8$. Setting $\mu = M$: \[ 7 + \dfrac{x}{5} = 8 \implies \dfrac{x}{5} = 1 \implies x = 5. \] This contradicts $x \geqslant 8$, so no solution here.
Thus, $x = -5$ is the unique solution, and the sum of all such numbers is $-5$.
A red ball and a green ball are randomly and independently tossed into bins numbered with positive integers so that for each ball, the probability that it is tossed into bin $k$ is $2^{-k}$ for $k = 1, 2, 3, \dots$. What is the probability that the red ball is tossed into a higher-numbered bin than the green ball?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{3}$
Let $R$ and $G$ be the bin numbers into which the red and green balls are tossed.
The probability that both balls land in the exact same bin is
\[
\mathrm{P}(R = G) = \sum_{k=1}^\infty \mathrm{P}(R = k)\mathrm{P}(G = k) = \sum_{k=1}^\infty 2^{-k} \cdot 2^{-k} = \sum_{k=1}^\infty 4^{-k} = \dfrac{\dfrac{1}{4}}{1 - \dfrac{1}{4}} = \dfrac{1}{3}.
\]
By symmetry, because the balls are tossed independently and follow identical distributions:
\[
\mathrm{P}(R > G) = \mathrm{P}(G > R).
\]
Since the three events $R > G$, $G > R$, and $R = G$ partition the entire sample space:
\[
\mathrm{P}(R > G) + \mathrm{P}(G > R) + \mathrm{P}(R = G) = 1 \implies 2\mathrm{P}(R > G) + \dfrac{1}{3} = 1.
\]
Solving gives
\[
2\mathrm{P}(R > G) = \dfrac{2}{3} \implies \mathrm{P}(R > G) = \dfrac{1}{3}.
\]
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$.
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}.
\]
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$.
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$.
Ms. Carr asks her students to read any $5$ of the $10$ books on a reading list. Harold randomly selects $5$ books from this list, and Betty does the same. What is the probability that there are exactly $2$ books that they both select?
Xem đáp án và lời giải
Đáp án: $\dfrac{25}{63}$
Fix Harold's choice of $5$ books. Betty randomly chooses $5$ books out of the $10$ books in $\mathrm{C}_{10}^5 = 252$ equally likely ways.
To share exactly $2$ books with Harold, Betty must select $2$ books from the $5$ books Harold chose ($\mathrm{C}_5^2 = 10$ ways) and $3$ books from the remaining $5$ books ($\mathrm{C}_5^3 = 10$ ways).
Therefore, the desired probability is
\[
\dfrac{\mathrm{C}_5^2 \cdot \mathrm{C}_5^3}{\mathrm{C}_{10}^5} = \dfrac{10 \cdot 10}{252} = \dfrac{25}{63}.
\]
Bela and Jenn play the following game on the closed interval $[0, n]$ of the real number line, where $n$ is a fixed integer greater than $4$. They take turns playing, with Bela going first. At his first turn, Bela chooses any real number in the interval $[0, n]$. Thereafter, the player whose turn it is chooses a real number that is more than one unit away from all numbers previously chosen by either player. A player unable to choose such a number loses. Using optimal strategy, which player will win the game?
Xem đáp án và lời giải
Đáp án: Bela will always win.
Bela can guarantee a win for every integer $n > 4$ by using a symmetry strategy.
On his first turn, Bela chooses the midpoint $\dfrac{n}{2}$. This prevents any future move from lying in the closed interval $\left[\dfrac{n}{2} - 1, \dfrac{n}{2} + 1\right]$, leaving two symmetric open-at-one-end subintervals $\left[0, \dfrac{n}{2} - 1\right)$ and $\left(\dfrac{n}{2} + 1, n\right]$ of length $\dfrac{n}{2} - 1 > 1$.
Whenever Jenn chooses a valid number $x$, it lies in one of these two subintervals. Bela then responds by choosing $n - x$, its reflection across $\dfrac{n}{2}$, which lies in the other subinterval.
Because $|x - (n - x)| > 2 > 1$ and distances are preserved by reflection across $\dfrac{n}{2}$, $n - x$ is also more than $1$ unit away from every previously chosen number. Thus Bela always has a valid response and will always win.
There are $10$ people standing equally spaced around a circle. Each person knows exactly $3$ of the other $9$ people: the $2$ people standing next to her or him, as well as the person directly across the circle. How many ways are there for the $10$ people to split up into $5$ pairs so that the members of each pair know each other?
Xem đáp án và lời giải
Đáp án: $13$
Each valid pair corresponds to either a perimeter edge (between adjacent people) or a diameter (between opposite people). Let $d$ be the number of diameters chosen in the pairing ($0 \leqslant d \leqslant 5$).
If $d = 5$, all $5$ diameters are chosen: $1$ way.
If $d = 4$, only $2$ opposite people remain, and they do not share a perimeter edge: $0$ ways.
If $d = 3$, the $4$ remaining people consist of $2$ pairs of opposite people. To pair them using perimeter edges, the $2$ unused vertices on each half of the circle must be adjacent, meaning the $2$ unused diameters are consecutive around the circle ($5$ choices), which uniquely pairs the remaining $4$ people: $5$ ways.
If $d = 2$, the two chosen diameters split the remaining $6$ people into two pairs of opposite arcs whose sizes sum to $3$. Since one arc on each side must have an odd number of people, they cannot be paired by perimeter edges: $0$ ways.
If $d = 1$, there are $5$ choices for the single diameter, and the two remaining arcs of $4$ people each have a unique pairing by perimeter edges: $5$ ways.
If $d = 0$, all $5$ pairs are perimeter edges, forming an alternating pairing around the $10$-cycle: $2$ ways.
Altogether, there are $1 + 0 + 5 + 0 + 5 + 2 = 13$ ways.
Values for $A, B, C,$ and $D$ are to be selected from $\{1, 2, 3, 4, 5, 6\}$ without replacement (i.e. no two letters have the same value). How many ways are there to make such choices so that the two curves $y = Ax^2 + B$ and $y = Cx^2 + D$ intersect? (The order in which the curves are listed does not matter; for example, the choices $A = 3, B = 2, C = 4, D = 1$ is considered the same as the choices $A = 4, B = 1, C = 3, D = 2$.)
Xem đáp án và lời giải
Đáp án: $90$
The two curves intersect if and only if $(A - C)x^2 = D - B$ has a real solution $x$. Because $A, B, C, D$ are distinct, this occurs if and only if $A - C$ and $D - B$ have the same sign, i.e., $(A - C)(D - B) > 0$.
Since the order of the two curves does not matter, we may assume without loss of generality that $A > C$, which then forces $D > B$.
First choose the $4$-element subset $\{A, B, C, D\} \subset \{1, 2, 3, 4, 5, 6\}$ in $\mathrm{C}_6^4 = 15$ ways.
Then choose which $2$ of the $4$ selected numbers form $\{A, C\}$ in $\mathrm{C}_4^2 = 6$ ways; the conditions $A > C$ and $D > B$ uniquely determine $A, C, B, D$.
Thus there are $15 \cdot 6 = 90$ valid pairs of curves.
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$:
Số cách chia một $n$-giác lồi thành các tam giác bằng các đường chéo không giao nhau được cho bởi số Catalan $c(n) = C_{n-2} = \dfrac{1}{n-1}\binom{2n-4}{n-2}$. Với đa giác 10 cạnh ($n = 10$), số cách tam giác hóa là bao nhiêu?
Xem đáp án và lời giải
Đáp án: $1430$
Với một $n$-giác lồi, số cách tam giác hóa là số Catalan $C_{n-2}$:
Một giải đấu loại trực tiếp gồm $n = 10$ đội tham gia, mỗi trận loại một đội (nhánh đấu biểu diễn bằng cây nhị phân có nhãn). Có tất cả bao nhiêu lịch thi đấu (nhánh đấu) khác nhau cho 10 đội?
Xem đáp án và lời giải
Đáp án: $17!! = 34.459.425$
Số cấu trúc nhánh đấu loại trực tiếp của $n$ đội tương ứng với số cây nhị phân có gốc có $n$ lá được gán nhãn:
Với $n=2$: có 1 lịch thi đấu: $1!! = 1$.
Với $n=3$: có 3 lịch thi đấu: $3!! = 3$.
Với $n=4$: có 15 lịch thi đấu: $5!! = 15$.
Mỗi khi thêm đội thứ $k$, nhánh của đội đó có thể gắn vào bất kỳ cạnh nào trong số $2k-3$ cạnh hiện có của cây.
Do đó số lịch thi đấu cho $n$ đội là giai thừa kép:
$$N(n) = (2n - 3)!!$$
Với $n = 10$:
$$N(10) = 17!! = 17 \times 15 \times 13 \times 11 \times 9 \times 7 \times 5 \times 3 \times 1 = 34.459.425$$