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$:
On an algebra quiz, $10\%$ of the students scored $70$ points, $35\%$ scored $80$ points, $30\%$ scored $90$ points, and the rest scored $100$ points. What is the difference between the mean and the median of the students’ scores on this quiz?
Xem đáp án và lời giải
Đáp án: $3$
The percentage of students scoring $100$ points is:
\[
100\% - (10\% + 35\% + 30\%) = 25\%.
\]
The cumulative percentages are:
Up to $70$: $10\%$,
Up to $80$: $10\% + 35\% = 45\%$,
Up to $90$: $45\% + 30\% = 75\%$.
Since the $50\text{th}$ percentile falls in the $90$-point group, the median score is $90$.
The mean score is the weighted average:
\[
\text{Mean} = 0.10(70) + 0.35(80) + 0.30(90) + 0.25(100) = 7 + 28 + 27 + 25 = 87.
\]
The difference between the median and the mean is:
\[
90 - 87 = 3.
\]
Select numbers $a$ and $b$ between $0$ and $1$ independently and at random, and let $c$ be their sum. Let $A, B,$ and $C$ be the results when $a, b,$ and $c$, respectively, are rounded to the nearest integer. What is the probability that $A + B = C$?
Xem đáp án và lời giải
Đáp án: $\dfrac{3}{4}$
The sample space is the unit square $[0, 1] \times [0, 1]$ in the $ab$-plane, which has area $1$. The values of $A, B,$ and $C$ depend on which regions $a, b,$ and $c = a + b$ fall into: $A = 0$ if $a < \dfrac{1}{2}$, and $A = 1$ if $a \geqslant \dfrac{1}{2}$. $B = 0$ if $b < \dfrac{1}{2}$, and $B = 1$ if $b \geqslant \dfrac{1}{2}$. For $C$, since $0 < a + b < 2$: $C = 0$ if $a + b < \dfrac{1}{2}$. $C = 1$ if $\dfrac{1}{2} \leqslant a + b < \dfrac{3}{2}$. $C = 2$ if $a + b \geqslant \dfrac{3}{2}$. Now we check the four quadrants of the square $[0, 1] \times [0, 1]$: Region 1: $a < \dfrac{1}{2}$ and $b < \dfrac{1}{2}$ (area $\dfrac{1}{4}$). Here $A = 0, B = 0 \implies A + B = 0$. We have $a + b < 1$. $C = 0$ if $a + b < \dfrac{1}{2}$ (area $\dfrac{1}{2} \times \dfrac{1}{2} \times \dfrac{1}{2} = \dfrac{1}{8}$). If $\dfrac{1}{2} \leqslant a + b < 1$, then $C = 1 \ne A + B$ (area $\dfrac{1}{4} - \dfrac{1}{8} = \dfrac{1}{8}$). Region 2: $a \geqslant \dfrac{1}{2}$ and $b < \dfrac{1}{2}$ (area $\dfrac{1}{4}$). Here $A = 1, B = 0 \implies A + B = 1$. Here $\dfrac{1}{2} \leqslant a + b < \dfrac{3}{2}$, so $C = 1$ everywhere in this region! Thus $A + B = C$ holds on the entire region of area $\dfrac{1}{4}$. Region 3: $a < \dfrac{1}{2}$ and $b \geqslant \dfrac{1}{2}$ (area $\dfrac{1}{4}$). Here $A = 0, B = 1 \implies A + B = 1$. Here $\dfrac{1}{2} \leqslant a + b < \dfrac{3}{2}$, so $C = 1$ everywhere in this region! Thus $A + B = C$ holds on the entire region of area $\dfrac{1}{4}$. Region 4: $a \geqslant \dfrac{1}{2}$ and $b \geqslant \dfrac{1}{2}$ (area $\dfrac{1}{4}$). Here $A = 1, B = 1 \implies A + B = 2$. Here $1 \leqslant a + b \leqslant 2$. $C = 2$ if $a + b \geqslant \dfrac{3}{2}$ (area $\dfrac{1}{8}$). If $1 \leqslant a + b < \dfrac{3}{2}$, then $C = 1 \ne A + B$ (area $\dfrac{1}{8}$). Summing the favorable areas: \[ \text{Area} = \dfrac{1}{8} + \dfrac{1}{4} + \dfrac{1}{4} + \dfrac{1}{8} = \dfrac{6}{8} = \dfrac{3}{4}. \] Therefore, the probability is $\dfrac{3}{4}$.
Two independent units handle incoming requests. The probability that Scanner $A$ succeeds is $\dfrac{2}{5}$, and the probability that Scanner $B$ succeeds is $\dfrac{1}{2}$. What is the probability that at least one unit succeeds?
Xem đáp án và lời giải
Đáp án: $\dfrac{7}{10}$
Xác suất cả hai cùng thất bại là $\left(1 - \dfrac{2}{5}\right)\left(1 - \dfrac{1}{2}\right)$. Lấy $1$ trừ đi tích này ta được $\dfrac{7}{10}$.
Một robot kiểm tra cáp mạng cần đi qua tất cả $8$ đoạn dây nối $5$ trạm $A, B, C, D, E$ như hình vẽ, mỗi đoạn đúng $1$ lần và quay về đúng trạm xuất phát. Hiện tại các trạm $A, B, C, D$ đều có $3$ dây nối, còn trạm $E$ có $4$ dây nối. Cần lắp thêm ít nhất bao nhiêu đoạn dây nối các trạm để robot thực hiện được hành trình khép kín đó?
Xem đáp án và lời giải
Đáp án: $2$
Để tồn tại chu trình Euler (đi qua mọi cạnh đúng $1$ lần và quay về điểm xuất phát), mọi đỉnh của đồ thị phải có bậc chẵn.
Hiện có $4$ đỉnh bậc lẻ là $A, B, C, D$ (cùng có bậc $3$). Mỗi đoạn dây mới nối hai đỉnh khác nhau sẽ làm tăng bậc của cả hai đỉnh đó thêm $1$. Vậy chỉ cần lắp thêm $2$ đoạn dây (ví dụ $AB$ và $CD$) để biến cả $4$ đỉnh thành bậc $4$ (chẵn).
The probability that Stock $A$ rises next month is $0.58$, and the probability that Stock $B$ rises next month is $0.67$. What is the greatest possible value for the probability that neither stock rises?
Xem đáp án và lời giải
Đáp án: $0.33$
Xác suất không tăng tương ứng là $0.42$ và $0.33$. Xác suất cả hai cùng không tăng không thể vượt quá giá trị nhỏ hơn trong hai xác suất đó: $0.33$.
A badge code has $2$ distinct letters selected from $6$ allowed letters, followed by $2$ distinct digits selected from $6$ allowed digits. How many valid badge codes exist?
Xem đáp án và lời giải
Đáp án: $900$
Theo quy tắc nhân (multiplication principle): chọn chữ cái có $30$ cách, chọn chữ số có $30$ cách. Tổng số mã là $30 \times 30 = 900$.
A container holds $6$ black tokens and $4$ gold tokens. If $2$ tokens are drawn at random without replacement, what is the probability that both tokens drawn are black?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{3}$
Không hoàn lại (without replacement): xác suất là $\dfrac{6}{10} \times \dfrac{5}{9} = \dfrac{1}{3}$.
A $5$-person committee is to be formed from $7$ analysts and $6$ engineers. In how many ways can the committee be chosen if it must include at least $2$ engineers? (Enter a number only)
Xem đáp án và lời giải
Đáp án: $1056$
Dùng phần bù: tổng số cách chọn $\binom{13}{5} = 1287$ trừ đi các cách có ít hơn $2$ kỹ sư, cho kết quả $1056$.
The two-way table summarizes outcomes for $90$ trials across Group A and Group B. Given that a randomly selected trial came from Group A, what is the probability (in percent) that its outcome was Pass?
Xem đáp án và lời giải
Đáp án: $30\%$
Trong dòng Group A có tổng $50$ phép thử và $15$ lần Pass, xác suất có điều kiện là $\dfrac{15}{50} = 30\%$.
In a round-robin tournament with $21$ teams, every team plays every other team once, with no ties. Each team wins $10$ games and loses $10$ games. A subset of three teams $\{A, B, C\}$ is called cyclical if $A$ beats $B$, $B$ beats $C$, and $C$ beats $A$. How many cyclical subsets of three teams are there?
Xem đáp án và lời giải
Đáp án: $385$
The total number of subsets of three teams chosen from $21$ teams is
\[
\binom{21}{3} = \dfrac{21 \times 20 \times 19}{6} = 1330.
\]
In any tournament, every subset of three teams is either cyclical or has a unique team that beat both of the other two teams (a transitive triple).
To count the number of transitive triples, we count by the team that won both games:
Each of the $21$ teams won $10$ games.
For any team $T$, there are $\binom{10}{2} = 45$ pairs of teams that $T$ beat.
Each such pair forms a transitive triple with $T$.
Since every transitive triple has exactly one team that beat both other teams, the total number of transitive triples is
\[
21 \times \binom{10}{2} = 21 \times 45 = 945.
\]
Therefore, the number of cyclical subsets of three teams is
\[
1330 - 945 = 385.
\]
The probability that Stock $A$ rises next month is $0.63$, and the probability that Stock $B$ rises next month is $0.73$. What is the greatest possible value for the probability that neither stock rises?
Xem đáp án và lời giải
Đáp án: $0.27$
Xác suất không tăng tương ứng là $0.37$ và $0.27$. Xác suất cả hai cùng không tăng không thể vượt quá giá trị nhỏ hơn trong hai xác suất đó: $0.27$.