Let $S$ be the set of all positive integer divisors of $100{,}000$. How many numbers are the product of two distinct elements of $S$?
Xem đáp án và lời giải
Đáp án: $117$
The prime factorization of $100{,}000$ is $10^5 = 2^5 \cdot 5^5$.
Any element of $S$ has the form $2^a \cdot 5^b$ where $a, b \in \{0, 1, 2, 3, 4, 5\}$.
The product of two elements $2^{a_1} \cdot 5^{b_1}$ and $2^{a_2} \cdot 5^{b_2}$ is of the form $2^A \cdot 5^B$ where
$A = a_1 + a_2 \in \{0, 1, \dots, 10\}$ and $B = b_1 + b_2 \in \{0, 1, \dots, 10\}$.
There are $(10 + 1)(10 + 1) = 11 \times 11 = 121$ possible pairs $(A, B)$.
However, the two elements must be distinct, so $(a_1, b_1) \ne (a_2, b_2)$.
The only pairs $(A, B)$ that cannot be represented as the sum of two distinct pairs are those with a unique representation where that unique representation is a double $(a_1, b_1) = (a_2, b_2)$:
$(A, B) = (0, 0)$: only $a_1 = a_2 = 0, b_1 = b_2 = 0$, so $(1, 1)$ requires identical elements. (Excluded)
All other $121 - 4 = 117$ pairs $(A, B)$ can be written as the sum of two distinct pairs $(a_1, b_1) \ne (a_2, b_2)$.
Thus, there are $121 - 4 = 117$ distinct numbers.
Debra flips a fair coin repeatedly, keeping track of how many heads and how many tails she has seen in total, until she gets either two heads in a row or two tails in a row, at which point she stops flipping. What is the probability that she gets two heads in a row but she sees a second tail before she sees a second head?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{24}$
The game ends when two consecutive heads (HH) or two consecutive tails (TT) appear.
For the desired event to occur:
Debra must end with HH.
She must see a second tail before seeing a second head.
Because seeing TT ends the game, the tails cannot be consecutive.
Also, she cannot see two heads before the end of the sequence.
Thus, the flips must alternate until the final HH, and must contain at least two tails before the second head appears.
The only sequences that satisfy these conditions are:
\[
\text{THTHH}, \quad \text{THTHTHH}, \quad \text{THTHTHTHH}, \quad \dots
\]
The probabilities of these sequences are
\[
\left(\dfrac{1}{2}\right)^5 + \left(\dfrac{1}{2}\right)^7 + \left(\dfrac{1}{2}\right)^9 + \dots
\]
This is an infinite geometric series with first term $a = \dfrac{1}{32}$ and common ratio $r = \dfrac{1}{4}$.
The sum of this series is
\[
\dfrac{\dfrac{1}{32}}{1 - \dfrac{1}{4}} = \dfrac{\dfrac{1}{32}}{\dfrac{3}{4}} = \dfrac{1}{32} \cdot \dfrac{4}{3} = \dfrac{4}{96} = \dfrac{1}{24}.
\]
Raashan, Sylvia, and Ted play the following game. Each starts with 1 dollar. A bell rings every $15$ seconds, at which time each of the players who currently have money simultaneously chooses one of the other two players independently and at random and gives 1 dollar to that player. What is the probability that after the bell has rung $2019$ times, each player will have 1 dollar?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{4}$
The total amount of money among the three players is always 3 dollars.
A player cannot end a round with 3 dollars, because each player who starts with money must give $1$ dollar away.
Thus, the only possible distributions of money at the end of any round are:
$(1, 1, 1)$ up to permutation, or
$(2, 1, 0)$ up to permutation.
If a round starts at $(1, 1, 1)$: each of the $3$ players gives 1 dollar to one of the other $2$ players (with $2^3 = 8$ equally likely choices). The state $(1, 1, 1)$ is reached if and only if the money moves in a directed cycle: either $R \to S \to T \to R$ or $R \to T \to S \to R$. There are $2$ such cyclic assignments out of $8$, so the transition probability is $\dfrac{2}{8} = \dfrac{1}{4}$.
If a round starts at $(2, 1, 0)$: the player with 0 dollars gives nothing. The player with $1$ dollar gives their dollar to one of the other two with equal probability $\dfrac{1}{2}$. The player with 2 dollars gives 1 dollar to one of the other two with probability $\dfrac{1}{2}$. Analyzing the resulting distribution shows that the probability of ending at $(1, 1, 1)$ is again $\dfrac{1}{2} \cdot \dfrac{1}{2} = \dfrac{1}{4}$.
Since the probability of transitioning to state $(1, 1, 1)$ is $\dfrac{1}{4}$ regardless of the starting state of that round, after each round (and in particular after the $2019$th ring), the probability that each player has 1 dollar is exactly $\dfrac{1}{4}$.
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.
An urn contains one red ball and one blue ball. A box of extra red and blue balls lie nearby. George performs the following operation four times: he draws a ball from the urn at random and then takes a ball of the same color from the box and returns those two matching balls to the urn. After the four iterations the urn contains six balls. What is the probability that the urn contains three balls of each color?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{5}$
For the urn to end with $3$ red and $3$ blue balls, George must draw red twice and blue twice in some order.
There are $\mathrm{C}_4^2 = 6$ possible orders for drawing two reds and two blues.
In any such sequence, the denominators of the draw probabilities are $2, 3, 4, 5$, while the numerators are $1$ and $2$ for the two red draws (in that order) and $1$ and $2$ for the two blue draws (in that order), giving each sequence probability
\[
\dfrac{1 \cdot 2 \cdot 1 \cdot 2}{2 \cdot 3 \cdot 4 \cdot 5} = \dfrac{4}{120} = \dfrac{1}{30}.
\]
Summing over all $6$ sequences gives $6 \cdot \dfrac{1}{30} = \dfrac{1}{5}$.
In how many ways can the sequence $1, 2, 3, 4, 5$ be rearranged so that no three consecutive terms are increasing and no three consecutive terms are decreasing?
Xem đáp án và lời giải
Đáp án: $32$
Avoiding three consecutive increasing or decreasing terms means the inequality signs between consecutive elements $(a_1, a_2, a_3, a_4, a_5)$ must strictly alternate: either $a_1 < a_2 > a_3 < a_4 > a_5$ or $a_1 > a_2 < a_3 > a_4 < a_5$.
Consider first $a_1 < a_2 > a_3 < a_4 > a_5$. The largest number $5$ must sit at a peak, either $a_2$ or $a_4$:
If $a_2 = 5$, we choose $a_1$ in $4$ ways, and the remaining three elements form $a_3 < a_4 > a_5$ by putting the largest of the three at $a_4$ and ordering the other two in $2$ ways, giving $4 \cdot 2 = 8$ permutations.
If $a_4 = 5$, we choose $a_5$ in $4$ ways, and similarly order the remaining three as $a_1 < a_2 > a_3$ in $2$ ways, giving $4 \cdot 2 = 8$ permutations.
Thus there are $16$ permutations with pattern $< > < >$. Reversing the order gives another $16$ permutations with pattern $> < > <$, for a total of $16 + 16 = 32$ rearrangements.
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}$.
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$.
Bài toán khai sinh ra Lý thuyết Xác suất năm $1654$ của Pascal và Fermat: hai kỳ thủ $A$ và $B$ có trình độ ngang tài ngang sức (mỗi ván mỗi người có xác suất thắng $\dfrac{1}{2}$, không có hòa) góp chung quỹ thưởng $32$ triệu đồng với luật chơi: ai chạm mốc $5$ ván thắng trước sẽ nhận toàn bộ quỹ thưởng. Khi tỷ số đang là $A$ thắng $3$ ván – $B$ thắng $1$ ván ($A$ cần $2$ ván nữa, $B$ cần $3$ ván nữa), giải đấu buộc phải hủy đột xuất. Chia quỹ thưởng $32$ triệu đồng như thế nào mới thực sự công bằng theo xác suất?
Xem đáp án và lời giải
Đáp án:A nhận $22$ triệu đồng, B nhận $10$ triệu đồng.tỷ lệ $11$ : $5$
Lối mòn dễ mắc: Chia theo quá khứ ($3:1$) bỏ qua mốc đích $5$ ván; còn liệt kê các nhánh dừng sớm có độ dài khác nhau ($2$ ván, $3$ ván, $4$ ván) rất dễ gán nhầm trọng số đồng khả năng!
Đổi câu hỏi (Chìa khóa):Chìa khóa của Fermat: Dù ai chạm mốc $5$ sớm hơn, cứ cho họ đấu giả định thêm cho đủ tối đa $(2 + 3 - 1) = 4$ ván nữa để mọi kịch bản đều có độ dài bằng nhau ($2^4 = 16$ khả năng đồng xác suất)!
Lời giải gọn đẹp:
Trong $4$ ván tiếp theo (tổng cộng $2^4 = 16$ dãy kết quả đồng khả năng):
+ Kỳ thủ $B$ muốn lật ngược thế cờ (đang thiếu $3$ ván) bắt buộc phải thắng từ $3$ ván trở lên trong $4$ ván đó (khi đó $A$ thắng tối đa $1$ ván, chưa chạm mốc $5$).
+ Số dãy mà $B$ thắng đúng $4$ ván là $\binom{4}{4} = 1$; thắng đúng $3$ ván là $\binom{4}{3} = 4$ $\implies$ tổng cộng $B$ thắng ở $1 + 4 = 5$ kịch bản (xác suất $\dfrac{5}{16}$), còn $A$ thắng ở $16 - 5 = 11$ kịch bản (xác suất $\dfrac{11}{16}$).
Vậy quỹ thưởng $32$ triệu đồng phải chia theo tỷ lệ $11 : 5$: $A$ nhận $22$ triệu đồng, $B$ nhận $10$ triệu đồng!
Xáo trộn ngẫu nhiên hoàn toàn hai bộ bài Tây tiêu chuẩn $52$ lá độc lập với nhau, rồi lần lượt lật đồng thời từng cặp lá bài ở cùng vị trí từ lá thứ $1$ đến lá thứ $52$ của hai bộ bài để so sánh. Một cặp được tính là «trùng khít» nếu hai lá bài giống hệt nhau cả chất lẫn số (ví dụ cùng là Át Cơ). Trung bình (kỳ vọng toán học), sẽ xuất hiện bao nhiêu lần «trùng khít» trong $52$ lần lật?
Xem đáp án và lời giải
Đáp án: $1$
Lối mòn dễ mắc: Tưởng hai bộ bài đều bị xáo tung lên thì phức tạp gấp đôi bài toán trả thiệp!
Đổi câu hỏi (Chìa khóa): Hãy coi bộ bài thứ nhất là «danh sách tên chuẩn», thì bộ bài thứ hai chính là một hoán vị ngẫu nhiên của $52$ lá bài!
Lời giải gọn đẹp:
Tại một vị trí thứ $k$ bất kỳ ($k = 1..52$), lá bài của bộ thứ hai có xác suất trùng đúng lá bài của bộ thứ nhất tại vị trí $k$ là $\dfrac{1}{52}$.
Theo tính chất cộng của kỳ vọng trên cả $52$ vị trí lật bài: $$E = 52 \times \dfrac{1}{52} = 1\text{ (lần trùng khít)}.$$
Một hộp kín chứa $3$ tấm thẻ đặc biệt: Thẻ $1$ có cả hai mặt đều màu Đỏ; Thẻ $2$ có cả hai mặt đều màu Trắng; Thẻ $3$ có một mặt Đỏ và một mặt Trắng. Bạn nhắm mắt rút ngẫu nhiên $1$ tấm thẻ đặt phẳng xuống bàn, mở mắt ra và nhìn thấy mặt ngửa lên trên có màu Đỏ. Hỏi xác suất để mặt úp bên dưới của tấm thẻ đó cũng có màu Đỏ là bao nhiêu?
Xem đáp án và lời giải
Đáp án: $2/3$
Lối mòn dễ mắc: Nghịch lý hộp Bertrand ($1889$)! Rất nhiều người lý luận: «Loại Thẻ Trắng-Trắng rồi, chỉ còn Thẻ Đỏ-Đỏ và Thẻ Đỏ-Trắng nên xác suất là $\dfrac{1}{2}$» — sai vì Thẻ Đỏ-Đỏ có cơ hội hiện mặt Đỏ cao gấp đôi Thẻ Đỏ-Trắng!
Đổi câu hỏi (Chìa khóa): Đừng đếm theo «tấm thẻ» — hãy đánh số cả $6$ mặt thẻ đồng khả năng được ngửa lên trên bàn!
Lời giải gọn đẹp:
Gồm $3$ mặt Đỏ là $\{\text{Đ}_1,\ \text{Đ}_2\}$ (của Thẻ $1$) và $\{\text{Đ}_3\}$ (của Thẻ $3$), cùng $3$ mặt Trắng.
Khi ta nhìn thấy mặt ngửa lên là màu Đỏ, ta đang rơi đồng khả năng vào một trong $3$ mặt Đỏ $\{\text{Đ}_1,\ \text{Đ}_2,\ \text{Đ}_3\}$.
Trong $3$ trường hợp đồng khả năng đó:
+ Nếu mặt đang ngửa là $\text{Đ}_1$ $\to$ mặt úp là $\text{Đ}_2$ (Đỏ!).
+ Nếu mặt đang ngửa là $\text{Đ}_2$ $\to$ mặt úp là $\text{Đ}_1$ (Đỏ!).
+ Nếu mặt đang ngửa là $\text{Đ}_3$ $\to$ mặt úp là Trắng.
Có $2$ trên $3$ mặt cho mặt dưới màu Đỏ $\implies$ xác suất chính xác là $\dfrac{2}{3}$!
Bạn có $2$ chiếc hộp giống hệt nhau, $50$ viên bi đỏ và $50$ viên bi xanh. Bạn phải xếp tất cả $100$ viên bi vào $2$ hộp (mỗi hộp có ít nhất $1$ viên). Sau đó một người bịt mắt chọn ngẫu nhiên $1$ hộp rồi bốc ngẫu nhiên $1$ viên bi trong hộp đó. Cách xếp tối ưu giúp xác suất bốc được bi đỏ đạt giá trị lớn nhất bằng bao nhiêu?
Xem đáp án và lời giải
Đáp án: $74/99$
Đặt đúng $1$ viên bi đỏ vào Hộp 1, và dồn toàn bộ $49$ bi đỏ + $50$ bi xanh vào Hộp 2.
Xác suất bốc được bi đỏ là:
$$P = \dfrac{1}{2} \cdot 1 + \dfrac{1}{2} \cdot \dfrac{49}{99} = \dfrac{148}{198} = \dfrac{74}{99} \approx 74{,}7\%.$$
A box contains exactly five chips, three red and two white. Chips are randomly removed one at a time without replacement until all the red chips are drawn or all the white chips are drawn. What is the probability that the last chip drawn is white?
Xem đáp án và lời giải
Đáp án: $\dfrac{3}{5}$
Imagine continuing to draw all five chips until the box is completely empty. The process stops as soon as all chips of one color are drawn. The last chip drawn before the process stops is white if and only if all two white chips are drawn before the last red chip is drawn. In other words, the last chip in the complete permutation of all 5 chips must be a red chip! Because each of the 5 chips is equally likely to be the very last chip in the full sequence of 5 chips, and there are 3 red chips and 2 white chips, the probability that the last chip in the sequence is red is \[ \dfrac{3}{5}. \] Therefore, the probability that the drawing terminates because all white chips were drawn is $\dfrac{3}{5}$.
How many positive integers not exceeding 2001 are multiples of 3 or 4 but not 5?
Xem đáp án và lời giải
Đáp án: $801$
Let $A$ be the set of multiples of 3, $B$ be the set of multiples of 4, and $C$ be the set of multiples of 5 in $\{1, 2, \dots, 2001\}$. We wish to compute $|(A \cup B) \setminus C| = |A \cup B| - |(A \cup B) \cap C|$. First, compute the sizes: $|A| = \lfloor 2001/3 \rfloor = 667$. $|B| = \lfloor 2001/4 \rfloor = 500$. $|A \cap B| = \lfloor 2001/12 \rfloor = 166$. By the Principle of Inclusion-Exclusion: \[ |A \cup B| = 667 + 500 - 166 = 1001. \] Next, $(A \cup B) \cap C = (A \cap C) \cup (B \cap C)$: $|A \cap C| = \lfloor 2001/15 \rfloor = 133$. $|B \cap C| = \lfloor 2001/20 \rfloor = 100$. $|A \cap B \cap C| = \lfloor 2001/60 \rfloor = 33$. By Inclusion-Exclusion: \[ |(A \cup B) \cap C| = 133 + 100 - 33 = 200. \] Therefore, the number of required integers is \[ 1001 - 200 = 801. \]
Tina randomly selects two distinct numbers from the set $\{1, 2, 3, 4, 5\}$, and Sergio randomly selects a number from the set $\{1, 2, \dots, 10\}$. The probability that Sergio's number is larger than the sum of the two numbers chosen by Tina is
Xem đáp án và lời giải
Đáp án: $\dfrac{2}{5}$
There are ten ways for Tina to select a pair of numbers. The sums $9$, $8$, $4$, and $3$ can be obtained in just one way, and the sums $7$, $6$, and $5$ can each be obtained in two ways. The probability for each of Sergio's choices is $\dfrac{1}{10}$. Considering his selections in decreasing order, the total probability of Sergio's choice being greater is \[ \left(\dfrac{1}{10}\right)\left(1 + \dfrac{9}{10} + \dfrac{8}{10} + \dfrac{6}{10} + \dfrac{4}{10} + \dfrac{2}{10} + \dfrac{1}{10} + 0 + 0 + 0\right) = \dfrac{2}{5}. \]