Two dice appear to be standard dice with their faces numbered from $1$ to $6$, but each die is weighted so that the probability of rolling the number $k$ is directly proportional to $k$. The probability of rolling a $7$ with this pair of dice is $\dfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m + n$.
Xem đáp án và lời giải
Đáp án: $71$
Because $1 + 2 + 3 + 4 + 5 + 6 = 21$, the probability of rolling a $k$ with one of these dice is $\dfrac{k}{21}$. Then the probability of rolling a $7$ with the pair of dice is \[ \dfrac{1 \cdot 6 + 2 \cdot 5 + 3 \cdot 4 + 4 \cdot 3 + 5 \cdot 2 + 6 \cdot 1}{21^2} = \dfrac{56}{21^2} = \dfrac{8}{63}. \] The requested sum is $8 + 63 = 71$.
There is a $40\%$ chance of rain on Saturday and a $30\%$ chance of rain on Sunday. However, it is twice as likely to rain on Sunday if it rains on Saturday than if it does not rain on Saturday. The probability that it rains at least one day this weekend is $\dfrac{a}{b}$, where $a$ and $b$ are relatively prime positive integers. Find $a + b$.
Xem đáp án và lời giải
Đáp án: $107$
Let $x$ be the probability that it rains on Saturday and not on Sunday, $y$ be the probability that it rains on Sunday and not on Saturday, and $z$ be the probability that it rains on both days. Then the conditions of the problem imply that $x + z = \dfrac{2}{5}$, $y + z = \dfrac{3}{10}$, and the conditional probabilities satisfy $\dfrac{z}{x + z} = 2 \cdot \dfrac{y}{1 - (x + z)}$ or $\dfrac{5}{2}z = \dfrac{10}{3}y$. Thus $z = \dfrac{4}{3}y$, so $y + \dfrac{4}{3}y = \dfrac{3}{10}$ which gives $y = \dfrac{9}{70}$. The required probability is $x + y + z = \dfrac{2}{5} + \dfrac{9}{70} = \dfrac{37}{70}$. The requested sum is $37 + 70 = 107$.
Teams $T_1$, $T_2$, $T_3$, and $T_4$ are in the playoffs. In the semifinal matches, $T_1$ plays $T_4$, and $T_2$ plays $T_3$. The winners of those two matches will play each other in the final match to determine the champion. When $T_i$ plays $T_j$, the probability that $T_i$ wins is $\dfrac{i}{i+j}$, and the outcomes of all the matches are independent. The probability that $T_4$ will be the champion is $\dfrac{p}{q}$, where $p$ and $q$ are relatively prime positive integers. Find $p + q$.
Xem đáp án và lời giải
Đáp án: $781$
Team $T_4$ will be the champion if and only if it wins its semifinal match (which it will do with probability $\dfrac{4}{4+1} = \dfrac{4}{5}$) and then beats whoever wins the other semifinal match. Considering the two possible outcomes of the other semifinal match gives the probability \[ \dfrac{4}{5} \cdot \left(\dfrac{2}{5} \cdot \dfrac{4}{6} + \dfrac{3}{5} \cdot \dfrac{4}{7}\right) = \dfrac{4}{5} \cdot \dfrac{4}{5} \cdot \left(\dfrac{1}{3} + \dfrac{3}{7}\right) = \dfrac{16}{25} \cdot \dfrac{16}{21} = \dfrac{256}{525}. \] The requested sum is $256 + 525 = 781$.
Find the number of positive integers less than or equal to $2017$ whose base-three representation contains no digit equal to $0$.
Xem đáp án và lời giải
Đáp án: $222$
For $k = 1, 2, 3, 4, 5$, and $6$ there are $2^k$ $k$-digit base-three numbers with digits of only $1$ and $2$. Because $2017 = 2202201_{three}$, all the $7$-digit base-three numbers less than $2017$ that do not contain a $0$ begin with $11$, $12$, or $21$. There are $3 \cdot 2^5 = 96$ of them. Thus there are $2 + 4 + 8 + 16 + 32 + 64 + 96 = 222$ positive integers less than or equal to $2017$ whose base-three representations contain no $0$s.
The number $n$ can be written in base $14$ as $abc_{14}$, can be written in base $15$ as $acb_{15}$, and can be written in base $6$ as $acac_6$, where $a > 0$. Find the base-$10$ representation of $n$.
Xem đáp án và lời giải
Đáp án: $925$
In base $10$, the number $n$ is represented in three bases as: $$
\begin{aligned} n &= 14^2 a + 14 b + c = 196a + 14b + c, \\ n &= 15^2 a + 15 c + b = 225a + 15c + b, \\ n &= 6^3 a + 6^2 c + 6 a + c = 222a + 37c. \end{aligned}
$$ Equating the first two expressions: \[ 196a + 14b + c = 225a + 15c + b \implies 13b = 29a + 14c. \] Equating the second and third expressions: \[ 225a + 15c + b = 222a + 37c \implies 3a + b = 22c \implies b = 22c - 3a. \] Substituting $b = 22c - 3a$ into $13b = 29a + 14c$: \[ 13(22c - 3a) = 29a + 14c \implies 286c - 39a = 29a + 14c \implies 272c = 68a \implies a = 4c. \] Since $a$ is a base-$6$ digit and $a > 0$, we have $1 \leqslant a \leqslant 5$. Since $a = 4c$ and $c$ is an integer with $c \geqslant 0$, the only possibility is $c = 1$, which gives $a = 4$. Then $b = 22(1) - 3(4) = 10$. We check that $0 \leqslant b < 14$, which holds. Therefore, the number $n$ is \[ n = 222(4) + 37(1) = 888 + 37 = 925. \]
Kathy has $5$ red cards and $5$ green cards. She shuffles the $10$ cards and lays out $5$ of the cards in a row in a random order. She will be happy if and only if all the red cards laid out are adjacent and all the green cards laid out are adjacent. For example, card orders $RRGGG$, $GGGGR$, or $RRRRR$ will make Kathy happy, but $RRRGR$ will not. The probability that Kathy will be happy is $\dfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m + n$.
Xem đáp án và lời giải
Đáp án: $157$
The condition that all red cards are adjacent and all green cards are adjacent means the sequence of $5$ cards cannot alternate between red and green more than once. Assuming the first card is $R$, the valid sequences are:
$$RRRRR, RRRRG, RRRGG, RRGGG, RGGGG.$$
By symmetry, if the first card is $G$, there are $5$ corresponding symmetric sequences ($GGGGG$, $GGGGR$, $GGGRR$, $GGRRR$, $GRRRR$). We calculate the probability of each pattern when cards are drawn without replacement from $5$ red and $5$ green cards:
$$\begin{aligned}
P(RRRRR) &= \dfrac{5 \cdot 4 \cdot 3 \cdot 2 \cdot 1}{10 \cdot 9 \cdot 8 \cdot 7 \cdot 6} = \dfrac{1}{252}, \\
P(RRRRG) &= \dfrac{5 \cdot 4 \cdot 3 \cdot 2 \cdot 5}{10 \cdot 9 \cdot 8 \cdot 7 \cdot 6} = \dfrac{5}{252}, \\
P(RRRGG) &= \dfrac{5 \cdot 4 \cdot 3 \cdot 5 \cdot 4}{10 \cdot 9 \cdot 8 \cdot 7 \cdot 6} = \dfrac{10}{252}, \\
P(RRGGG) &= \dfrac{5 \cdot 4 \cdot 5 \cdot 4 \cdot 3}{10 \cdot 9 \cdot 8 \cdot 7 \cdot 6} = \dfrac{10}{252}, \\
P(RGGGG) &= \dfrac{5 \cdot 5 \cdot 4 \cdot 3 \cdot 2}{10 \cdot 9 \cdot 8 \cdot 7 \cdot 6} = \dfrac{5}{252}.
\end{aligned}$$
The sum of probabilities for sequences starting with $R$ is
$$\dfrac{1 + 5 + 10 + 10 + 5}{252} = \dfrac{31}{252}.$$
By symmetry, the sequences starting with $G$ have the exact same total probability $\dfrac{31}{252}$. The sets of sequences starting with $R$ and with $G$ are disjoint, so the total probability is
$$2 \times \dfrac{31}{252} = \dfrac{31}{126}.$$
Here $m = 31$ and $n = 126$, which are relatively prime. Thus $m + n = 31 + 126 = 157$.
Zou and Chou are practicing their $100$-meter sprints by running $6$ races against each other. Zou wins the first race, and after that, the probability that one of them wins a race is $\dfrac{2}{3}$ if they won the previous race but only $\dfrac{1}{3}$ if they lost the previous race. The probability that Zou will win exactly $5$ of the $6$ races is $\dfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m + n$.
Xem đáp án và lời giải
Đáp án: $97$
Zou wins the first race ($W$). For Zou to win exactly $5$ of the $6$ races, Zou must lose exactly one of the remaining $5$ races. The sequence of winners for the $6$ races must be one of the following $5$ sequences: $W-W-W-W-W-L$: The transitions are: Race 1 to 2: $W \to W$, probability $\dfrac{2}{3}$. Race 2 to 3: $W \to W$, probability $\dfrac{2}{3}$. Race 3 to 4: $W \to W$, probability $\dfrac{2}{3}$. Race 4 to 5: $W \to W$, probability $\dfrac{2}{3}$. Race 5 to 6: $W \to L$, probability $\dfrac{1}{3}$. The probability of this sequence is: \[ \left(\dfrac{2}{3}\right)^4 \left(\dfrac{1}{3}\right) = \dfrac{16}{243}. \] $W-W-W-W-L-W$, $W-W-W-L-W-W$, $W-W-L-W-W-W$, or $W-L-W-W-W-W$: In each of these four cases, Zou loses race $k$ where $2 \leqslant k \leqslant 5$. This introduces two changes of winner: Prior to race $k$: one $W \to L$ transition with probability $\dfrac{1}{3}$. From race $k$ to $k+1$: Chou won race $k$, so Chou winning again has probability $\dfrac{2}{3}$, meaning Zou winning race $k+1$ after losing race $k$ has probability $\dfrac{1}{3}$. The remaining three transitions are $W \to W$, each with probability $\dfrac{2}{3}$. Thus, the probability of each of these four sequences is: \[ \left(\dfrac{2}{3}\right)^3 \left(\dfrac{1}{3}\right)^2 = \dfrac{8}{243}. \] Summing the probabilities of all $5$ mutually exclusive cases: \[ P = \dfrac{16}{243} + 4 \times \dfrac{8}{243} = \dfrac{16 + 32}{243} = \dfrac{48}{243} = \dfrac{16}{81}. \] Here $m = 16$ and $n = 81$, which are relatively prime. Thus: \[ m + n = 16 + 81 = 97. \]
Find the number of ways $66$ identical coins can be separated into three nonempty piles so that there are fewer coins in the first pile than in the second pile and fewer coins in the second pile than in the third pile.
Xem đáp án và lời giải
Đáp án: $331$
Let $x, y, z$ be the number of coins in the first, second, and third piles, respectively. We are looking for the number of integer solutions to: \[ x + y + z = 66 \text{with} 1 \leqslant x < y < z. \] We make the substitution to remove the strict inequalities: Let $x = a + 1$, $y = x + b + 1 = a + b + 2$, and $z = y + c + 1 = a + b + c + 3$, where $a, b, c$ are nonnegative integers ($a \geqslant 0, b \geqslant 0, c \geqslant 0$): The equation becomes: \[ (a + 1) + (a + b + 2) + (a + b + c + 3) = 66 \iff 3a + 2b + c = 60. \] Since $c \geqslant 0$, for each pair of nonnegative integers $(a, b)$, there exists a unique nonnegative integer $c = 60 - 3a - 2b \geqslant 0$ if and only if: \[ 3a + 2b \leqslant 60. \] Thus, we need to count the number of pairs of nonnegative integers $(a, b)$ satisfying $3a + 2b \leqslant 60$: The maximum value of $a$ is $\lfloor 60/3 \rfloor = 20$. For each $a \in \{0, 1, 2, \dots, 20\}$, we have $2b \leqslant 60 - 3a$, so $0 \leqslant b \leqslant \left\lfloor \dfrac{60 - 3a}{2} \right\rfloor$. We can sum this directly: Let $a = 2k$ (even, $0 \leqslant k \leqslant 10$): $b \leqslant \dfrac{60 - 6k}{2} = 30 - 3k$, which gives $(30 - 3k) + 1 = 31 - 3k$ values for $b$. The sum for even $a$ is: \[ \sum_{k=0}^{10} (31 - 3k) = 11 \times 31 - 3 \times \dfrac{10 \times 11}{2} = 341 - 165 = 176. \] Let $a = 2k + 1$ (odd, $0 \leqslant k \leqslant 9$): $b \leqslant \left\lfloor \dfrac{60 - 3(2k+1)}{2} \right\rfloor = \left\lfloor \dfrac{57 - 6k}{2} \right\rfloor = 28 - 3k$, which gives $(28 - 3k) + 1 = 29 - 3k$ values for $b$. The sum for odd $a$ is: \[ \sum_{k=0}^9 (29 - 3k) = 10 \times 29 - 3 \times \dfrac{9 \times 10}{2} = 290 - 135 = 155. \] The total number of solutions is: \[ 176 + 155 = 331. \]