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.
\]
Amelia has a coin that lands on heads with probability $\dfrac{1}{3}$, and Blaine has a coin that lands on heads with probability $\dfrac{2}{5}$. Amelia and Blaine alternate turns tossing their coins, with Amelia going first. The first person to toss a head wins. What is the probability that Amelia wins?
Xem đáp án và lời giải
Đáp án: $\dfrac{5}{9}$
Let $p_A = \dfrac{1}{3}$ and $p_B = \dfrac{2}{5}$.
Let $P$ be the probability that Amelia wins.
On the first round:
Amelia wins immediately with probability $p_A = \dfrac{1}{3}$.
Amelia tosses tails with probability $1 - p_A = \dfrac{2}{3}$.
Then Blaine tosses heads and wins with probability $p_B = \dfrac{2}{5}$.
Blaine tosses tails with probability $1 - p_B = \dfrac{3}{5}$. In this case, the game resets to its initial state, and Amelia wins with probability $P$.
Setting up the equation for $P$:
\[
P = \dfrac{1}{3} + \left(\dfrac{2}{3}\right)\left(\dfrac{3}{5}\right) P = \dfrac{1}{3} + \dfrac{2}{5} P.
\]
Solving for $P$:
\[
P - \dfrac{2}{5} P = \dfrac{1}{3} \iff \dfrac{3}{5} P = \dfrac{1}{3} \iff P = \dfrac{5}{9}.
\]
Alice refuses to sit next to either Bob or Carla. Derek refuses to sit next to Eric. How many ways are there for the five of them to sit in a row of $5$ chairs under these conditions?
Xem đáp án và lời giải
Đáp án: $28$
We analyze the seating arrangements based on Alice's chair:
Since Alice cannot sit next to Bob or Carla, whoever sits next to Alice must be from $\{D, E\}$.
Case 1: Alice sits at one of the two ends (Chair 1 or Chair 5, $2$ choices).
The single chair next to Alice must be occupied by Derek or Eric ($2$ choices).
Since Derek and Eric refuse to sit together, the other one cannot sit in the third chair; he must sit in Chair 4 or Chair 5 (away from the first one).
Bob and Carla can take the remaining chairs.
Careful placement gives $2 \times 8 = 16$ valid seatings.
Case 2: Alice sits in Chair 2 or Chair 4 ($2$ choices).
Both seats next to Alice must be occupied by Derek and Eric (in $2$ orders: $DE$ or $ED$).
The remaining two seats are taken by Bob and Carla ($2$ orders).
This gives $2 \times 2 \times 2 = 8$ valid seatings.
Case 3: Alice sits in Chair 3 (the middle chair, $1$ choice).
Her two neighbors (Chairs 2 and 4) must be Derek and Eric ($2$ orders).
The two outer chairs (Chairs 1 and 5) must be Bob and Carla ($2$ orders).
This gives $1 \times 2 \times 2 = 4$ valid seatings.
The total number of valid seating arrangements is:
\[
16 + 8 + 4 = 28.
\]
The number $21! = 51{,}090{,}942{,}171{,}709{,}440{,}000$ has over $60{,}000$ positive integer divisors. One of them is chosen at random. What is the probability that it is odd?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{19}$
We find the exponent of $2$ in the prime factorization of $21!$ using Legendre's formula:
\[
E_2(21!) = \left\lfloor \dfrac{21}{2} \right\rfloor + \left\lfloor \dfrac{21}{4} \right\rfloor + \left\lfloor \dfrac{21}{8} \right\rfloor + \left\lfloor \dfrac{21}{16} \right\rfloor = 10 + 5 + 2 + 1 = 18.
\]
Thus $21! = 2^{18} \cdot M$, where $M$ is an odd integer.
Any positive divisor $d$ of $21!$ is uniquely of the form:
\[
d = 2^k \cdot m,
\]
where $0 \leqslant k \leqslant 18$ and $m$ is a divisor of $M$.
The number of divisors of $21!$ is $(18 + 1) d(M) = 19 d(M)$.
A divisor $d$ is odd if and only if $k = 0$.
The number of odd divisors is $1 \cdot d(M) = d(M)$.
Since each divisor is equally likely to be chosen, the probability that the chosen divisor is odd is:
\[
\dfrac{d(M)}{19 d(M)} = \dfrac{1}{19}.
\]
How many nonnegative integers can be written in the form
\[
a_7 \cdot 3^7 + a_6 \cdot 3^6 + a_5 \cdot 3^5 + a_4 \cdot 3^4 + a_3 \cdot 3^3 + a_2 \cdot 3^2 + a_1 \cdot 3^1 + a_0 \cdot 3^0,
\]
where $a_i \in \{-1, 0, 1\}$ for $0 \leqslant i \leqslant 7$?
Xem đáp án và lời giải
Đáp án: $3281$
Each coefficient $a_i$ has $3$ choices: $-1, 0, 1$.
Thus there are $3^8 = 6561$ possible sequences of coefficients $(a_7, a_6, \dots, a_0)$.
By the uniqueness of balanced ternary representation, every integer has a unique representation of this form.
Therefore, all $6561$ sequences represent distinct integers.
Notice that the negation of any number $\sum a_i 3^i$ is $\sum (-a_i) 3^i$, which also has coefficients in $\{-1, 0, 1\}$.
The only number that is its own negation is $0$, which corresponds to $a_i = 0$ for all $i$.
The remaining $6561 - 1 = 6560$ numbers are paired into positive and negative pairs.
Thus exactly half of them are strictly positive:
\[
\dfrac{6560}{2} = 3280.
\]
Including $0$, the number of nonnegative integers is
\[
3280 + 1 = 3281.
\]
A number $m$ is randomly selected from the set $\{11, 13, 15, 17, 19\}$, and a number $n$ is randomly selected from $\{1999, 2000, 2001, \dots, 2018\}$. What is the probability that $m^n$ has a units digit of $1$?
Xem đáp án và lời giải
Đáp án: $\dfrac{2}{5}$
The units digit of $m^n$ depends only on the units digit of $m$ and $n \pmod 4$ (or modulo $2$):
The set of $m$ has $5$ elements, each chosen with probability $\dfrac{1}{5}$.
The set for $n$ contains $2018 - 1999 + 1 = 20$ consecutive integers, which contains exactly $5$ integers of each residue modulo $4$.
We analyze each possible value of $m$:
If $m = 11$, the units digit of $11^n$ is always $1$ for all $20$ values of $n$. (Probability $1$)
If $m = 13$, the units digit follows the cycle $3, 9, 7, 1$ of length $4$. The units digit is $1$ if and only if $n \equiv 0 \pmod 4$. This occurs for $\dfrac{5}{20} = \dfrac{1}{4}$ of the values of $n$.
If $m = 15$, the units digit is always $5 \ne 1$. (Probability $0$)
If $m = 17$, the units digit follows the cycle $7, 9, 3, 1$ of length $4$. The units digit is $1$ if and only if $n \equiv 0 \pmod 4$. (Probability $\dfrac{1}{4}$)
If $m = 19$, the units digit alternates $9, 1$ with period $2$. The units digit is $1$ if and only if $n$ is even. Exactly $10$ of the $20$ integers are even. (Probability $\dfrac{10}{20} = \dfrac{1}{2}$)
Since each $m$ is chosen with probability $\dfrac{1}{5}$, the overall probability is
\[
\dfrac{1}{5} \left(1 + \dfrac{1}{4} + 0 + \dfrac{1}{4} + \dfrac{1}{2}\right) = \dfrac{1}{5} (2) = \dfrac{2}{5}.
\]
A scanning code consists of a $7 \times 7$ grid of squares, with some of its squares colored black and the rest colored white. There must be at least one square of each color in this grid of $49$ squares. A scanning code is called symmetric if its look does not change when the entire square is rotated by a multiple of $90^\circ$ counterclockwise around its center, nor when it is reflected across a line joining opposite corners or a line joining midpoints of opposite sides. What is the total number of possible symmetric scanning codes?
Xem đáp án và lời giải
Đáp án: $1022$
The symmetry group of the square is the dihedral group $D_4$, which has order $8$.
Under all rotations and reflections of $D_4$, the $49$ squares of the $7 \times 7$ grid are partitioned into orbits. Squares in the same orbit must have the same color.
Let us determine the number of orbits in the fundamental domain (an eighth of the square, including boundaries):
The center square $(4, 4)$ is invariant under all operations: $1$ orbit of size $1$.
The squares along the horizontal/vertical axes of symmetry (excluding center): each of the $4$ rays from the center has $3$ squares. By $90^\circ$ rotations, they group into $3$ orbits of size $4$.
The squares along the diagonals (excluding center): each of the $4$ diagonal rays has $3$ squares. They group into $3$ orbits of size $4$.
The squares strictly inside each of the $8$ octants: the triangle has $\dfrac{(7-1)(7-1)}{8} - \dots$ squares. Specifically, the number of squares in each octant is $1 + 2 = 3$. These group into $3$ orbits of size $8$.
The total number of independent orbits is
\[
1 + 3 + 3 + 3 = 10\text{ orbits}.
\]
Each orbit can independently be colored black or white, giving $2^{10} = 1024$ possible colorings.
We must exclude the monochromatic colorings (all black or all white), which gives
\[
1024 - 2 = 1022\text{ codes}.
\]
Three young brother-sister pairs from different families need to take a trip in a van. These six children will occupy the second and third rows in the van, each of which has three seats. To avoid disruptions, no two siblings may sit next to each other in the same row, and no child may sit directly in front of his or her sibling. How many seating arrangements are possible for this trip?
Xem đáp án và lời giải
Đáp án: $96$
Let the three families be $1, 2, 3$, with children $\{B_1, S_1\}, \{B_2, S_2\}, \{B_3, S_3\}$.
There are two rows of $3$ seats: row $2$ and row $3$.
Let the seats be columns $1, 2, 3$ in row $2$, and columns $1, 2, 3$ in row $3$.
The condition that no two siblings sit in the same row means that each row contains exactly one child from each of the three families.
The condition that no child sits directly in front of their sibling means that for each column $c \in \{1, 2, 3\}$, the two children in column $c$ must be from different families.
First, choose which child of each family sits in row $2$: there are $2^3 = 8$ choices.
Next, assign the three chosen children to the three seats of row $2$: there are $3! = 6$ ways.
Without loss of generality, let row $2$ have families $1, 2, 3$ in columns $1, 2, 3$, respectively.
For row $3$, the children from families $1, 2, 3$ must be placed so that:
family $1$ cannot be in column $1$, family $2$ cannot be in column $2$, and family $3$ cannot be in column $3$.
This is precisely a derangement of $3$ items:
\[
D_3 = 2\text{ ways} \quad ((2, 3, 1) \text{ and } (3, 1, 2)).
\]
Therefore, the total number of valid seating arrangements is
\[
8 \times 6 \times 2 = 96.
\]
The numbers $1, 2, \dots, 9$ are randomly placed into the $9$ squares of a $3 \times 3$ grid. Each square gets one number, and each of the numbers is used once. What is the probability that the sum of the numbers in each row and each column is odd?
Xem đáp án và lời giải
Đáp án: $\dfrac{1}{14}$
Among the numbers $1, \dots, 9$, there are $5$ odd numbers and $4$ even numbers.
A sum of three integers is odd if and only if either all $3$ are odd, or $1$ is odd and $2$ are even.
The only way to partition the $5$ odd numbers into three row sums that are all odd is $3 + 1 + 1 = 5$, and similarly for columns.
Thus exactly one row and one column contain $3$ odd numbers.
There are $3 \times 3 = 9$ choices for the row and column containing all odd numbers.
The total number of ways to place the $5$ odd numbers into the $9$ squares is $\binom{9}{5} = 126$.
Therefore, the probability is $\dfrac{9}{126} = \dfrac{1}{14}$.
Real numbers between $0$ and $1$, inclusive, are chosen in the following manner. A fair coin is flipped. If it lands heads, then it is flipped again and the chosen number is $0$ if the second flip is heads and $1$ if the second flip is tails. On the other hand, if the first coin flip is tails, then the number is chosen uniformly at random from the closed interval $[0, 1]$. Two random numbers $x$ and $y$ are chosen independently in this manner. What is the probability that $|x - y| > \dfrac{1}{2}$?
Xem đáp án và lời giải
Đáp án: $\dfrac{7}{16}$
Each chosen number is $0$ with probability $\dfrac{1}{4}$, $1$ with probability $\dfrac{1}{4}$, and uniformly distributed on $[0, 1]$ with probability $\dfrac{1}{2}$.
Case 1: Both discrete (probability $\dfrac{1}{4}$). The outcomes $(0, 1)$ and $(1, 0)$ satisfy $|x - y| > \dfrac{1}{2}$, giving probability $\dfrac{2}{4} = \dfrac{1}{2}$. Contribution: $\dfrac{1}{4} \cdot \dfrac{1}{2} = \dfrac{1}{8}$.
Case 2: One discrete, one continuous (probability $\dfrac{1}{2}$). When $x = 0$, $y \in (1/2, 1]$ has length $\dfrac{1}{2}$; when $x = 1$, $y \in [0, 1/2)$ has length $\dfrac{1}{2}$. Contribution: $\dfrac{1}{2} \cdot \dfrac{1}{2} = \dfrac{1}{4}$.
Case 3: Both continuous (probability $\dfrac{1}{4}$). The region $|x - y| > \dfrac{1}{2}$ inside the unit square has area $2 \cdot \dfrac{1}{2} \cdot \left(\dfrac{1}{2}\right)^2 = \dfrac{1}{4}$. Contribution: $\dfrac{1}{4} \cdot \dfrac{1}{4} = \dfrac{1}{16}$.
Total probability: $\dfrac{1}{8} + \dfrac{1}{4} + \dfrac{1}{16} = \dfrac{7}{16}$.
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}$.