Luyện tập / Chủ đề Combinatorics · Tổ hợp

Luyện tập Combinatorics (Tổ hợp & Xác suất)

Bài tập quy tắc đếm, hoán vị, chỉnh hợp, tổ hợp, nguyên lý Dirichlet, bất biến và xác suất thống kê.

Tra cứu thuật ngữ Combinatorics (Tổ hợp & Xác suất): Mở Từ điển Toán tiếng Anh (14.000+ thuật ngữ kèm phiên âm & minh họa)

Có 427 bài tập Combinatorics · Tổ hợp · khối Lớp 8 · Trang 24/29 (Question 346–360)

Điểm: 0/15

Question 346

Khó · +30 điểm

Đề: AMC 10 2006 · Question 20 · Lớp 8–10

Six distinct positive integers are randomly chosen between 1 and 2006, inclusive. What is the probability that some pair of these integers has a difference that is a multiple of 5?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $1$

When an integer is divided by 5, the remainder is an element of $\{0, 1, 2, 3, 4\}$, which has 5 possible values. If six integers are chosen, by the Pigeonhole Principle, at least two of the integers must have the same remainder upon division by 5. The difference of two integers with the same remainder modulo 5 is divisible by 5. Therefore, it is certain that some pair of integers has a difference that is a multiple of 5, and the probability is 1.

Question 347

Khó · +30 điểm

Đề: AMC 10 2006 · Question 21 · Lớp 8–10

How many four-digit positive integers have at least one digit that is a 2 or a 3?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $5416$

There are 9000 four-digit positive integers (from 1000 to 9999). We count the number of four-digit integers that do not contain a 2 or a 3. The thousands digit can be any digit from $\{1, 4, 5, 6, 7, 8, 9\}$, which gives 7 choices. Each of the other three digits can be any digit from $\{0, 1, 4, 5, 6, 7, 8, 9\}$, giving 8 choices each. Thus, there are \[ 7 \cdot 8^3 = 7 \cdot 512 = 3584 \] four-digit integers with no digit equal to 2 or 3. The number of four-digit integers with at least one 2 or 3 is \[ 9000 - 3584 = 5416. \]

Question 348

Khó · +30 điểm

Đề: AMC 10 2006 · Question 46 · Lớp 8–10

For a particular peculiar pair of dice, the probabilities of rolling 1, 2, 3, 4, 5, and 6 on each die are in the ratio $1 : 2 : 3 : 4 : 5 : 6$. What is the probability of rolling a total of 7 on the two dice?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{8}{63}$

The sum of the ratio weights is \[ 1 + 2 + 3 + 4 + 5 + 6 = 21. \] Therefore, the probability of rolling $k$ on a die is $p_k = \dfrac{k}{21}$ for $k \in \{1, 2, 3, 4, 5, 6\}$. A sum of 7 occurs with the outcomes $(1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1)$. The probability of rolling a total of 7 is \[ P(\text{sum } 7) = \sum_{k=1}^6 p_k p_{7-k} = \sum_{k=1}^6 \dfrac{k}{21} \cdot \dfrac{7-k}{21} = \dfrac{1}{441} \sum_{k=1}^6 k(7-k). \] Compute the sum: $k=1$: $1 \cdot 6 = 6$ $k=2$: $2 \cdot 5 = 10$ $k=3$: $3 \cdot 4 = 12$ $k=4$: $4 \cdot 3 = 12$ $k=5$: $5 \cdot 2 = 10$ $k=6$: $6 \cdot 1 = 6$ Total sum is $6 + 10 + 12 + 12 + 10 + 6 = 56$. Thus, \[ P(\text{sum } 7) = \dfrac{56}{441} = \dfrac{8 \cdot 7}{63 \cdot 7} = \dfrac{8}{63}. \]

Question 349

Khó · +30 điểm

Đề: AMC 10 2007 · Question 47 · Lớp 8–10

A player chooses one of the numbers 1 through 4. After the choice has been made, two regular four-sided (tetrahedral) dice are rolled, with the sides of the dice numbered 1 through 4. If the number chosen appears on the bottom of exactly one die after it is rolled, then the player wins 1 dollar. If the number chosen appears on the bottom of both of the dice, then the player wins 2 dollars. If the number chosen does not appear on the bottom of either of the dice, the player loses 1 dollar. What is the expected return to the player, in dollars, for one roll of the dice?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $-\dfrac{1}{16}$

There are $4 \times 4 = 16$ equally likely outcomes for the bottoms of the two dice. Let $n$ be the player's chosen number. The chosen number appears on neither die if both dice show one of the other $3$ numbers, which happens in $3 \times 3 = 9$ outcomes (payout $-1$ dollar). The chosen number appears on exactly one die in $2 \times (1 \times 3) = 6$ outcomes (payout $+1$ dollar). The chosen number appears on both dice in $1 \times 1 = 1$ outcome (payout $+2$ dollars). The expected return is \[ E = \dfrac{9}{16}(-1) + \dfrac{6}{16}(1) + \dfrac{1}{16}(2) = \dfrac{-9 + 6 + 2}{16} = -\dfrac{1}{16}\text{ dollars}. \]

Question 350

Khó · +30 điểm

Đề: AMC 10 2008 · Question 22 · Lớp 8–10

Jacob uses the following procedure to write down a sequence of numbers. First he chooses the first term to be 6. To generate each succeeding term, he flips a fair coin. If it comes up heads, he doubles the previous term and subtracts 1. If it comes up tails, he takes half of the previous term and subtracts 1. What is the probability that the fourth term in Jacob's sequence is an integer?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{5}{8}$

Let $H(x) = 2x - 1$ and $T(x) = \dfrac{x}{2} - 1$. The first term is $a_1 = 6$. We trace the coin flip outcomes over 3 steps to generate $a_4$. There are $2^3 = 8$ equally likely outcomes for the sequence of 3 flips: Step 1: $H: a_2 = 2(6) - 1 = 11$. $T: a_2 = \dfrac{6}{2} - 1 = 2$. Both are integers. Step 2: From $a_2 = 11$: $HH: a_3 = 2(11) - 1 = 21$ (integer). $HT: a_3 = \dfrac{11}{2} - 1 = \dfrac{9}{2}$ (not an integer). From $a_2 = 2$: $TH: a_3 = 2(2) - 1 = 3$ (integer). $TT: a_3 = \dfrac{2}{2} - 1 = 0$ (integer). Step 3: From $HH$ ($a_3 = 21$): $HHH: 2(21) - 1 = 41$ (integer). $HHT: \dfrac{21}{2} - 1 = \dfrac{19}{2}$ (not an integer). From $HT$ ($a_3 = \dfrac{9}{2}$): $HTH: 2(9/2) - 1 = 8$ (integer!). $HTT: \dfrac{9/4} - 1 = \dfrac{5}{4}$ (not an integer). From $TH$ ($a_3 = 3$): $THH: 2(3) - 1 = 5$ (integer). $THT: \dfrac{3}{2} - 1 = \dfrac{1}{2}$ (not an integer). From $TT$ ($a_3 = 0$): $TTH: 2(0) - 1 = -1$ (integer). $TTT: \dfrac{0}{2} - 1 = -1$ (integer). The sequences leading to an integer for $a_4$ are: $HHH, HTH, THH, TTH, TTT$. Out of 8 equally likely outcomes, exactly 5 result in an integer. The probability that $a_4$ is an integer is $\dfrac{5}{8}$.

Question 351

Khó · +30 điểm

Đề: AMC 10 2008 · Question 45 · Lớp 8–10

The faces of a cubical die are marked with the numbers 1, 2, 2, 3, 3, and 4. The faces of a second cubical die are marked with the numbers 1, 3, 4, 5, 6, and 8. Both dice are thrown. What is the probability that the sum of the two top numbers will be 5, 7, or 9?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{7}{18}$

There are $6 \times 6 = 36$ equally likely outcomes when the two dice are rolled. Let the faces of the first die be $D_1 = \{1, 2, 2, 3, 3, 4\}$ and the second die be $D_2 = \{1, 3, 4, 5, 6, 8\}$. We count the number of outcomes that yield a sum of 5, 7, or 9: Sum = 5: $(1, 4)$ (1 pair), $(2, 3)$ (2 pairs), $(4, 1)$ (1 pair). Total for sum 5: $1 + 2 + 1 = 4$ outcomes. Sum = 7: $(1, 6)$ (1 pair), $(2, 5)$ (2 pairs), $(3, 4)$ (2 pairs), $(4, 3)$ (1 pair). Total for sum 7: $1 + 2 + 2 + 1 = 6$ outcomes. Sum = 9: $(1, 8)$ (1 pair), $(3, 6)$ (2 pairs), $(4, 5)$ (1 pair). Total for sum 9: $1 + 2 + 1 = 4$ outcomes. The total number of favorable outcomes is \[ 4 + 6 + 4 = 14. \] The probability is \[ \dfrac{14}{36} = \dfrac{7}{18}. \] (Note: These are the Sicherman dice, which yield the exact same distribution of sums from 2 to 12 as a pair of standard dice).

Question 352

Khó · +30 điểm

Đề: AMC 10 2008 · Question 46 · Lớp 8–10

Ten chairs are evenly spaced around a round table and numbered clockwise from 1 through 10. Five married couples are to sit in the chairs with men and women alternating, and no one is to sit either next to or directly across from his or her spouse. How many seating arrangements are possible?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $480$

Since the chairs are distinctly numbered from 1 to 10, this is a linear/fixed seating problem. Men and women must alternate. There are 2 choices for the gender of the person in chair 1: Chair 1 can be occupied by a woman (so women are in chairs 1, 3, 5, 7, 9 and men in 2, 4, 6, 8, 10), or by a man. Assume women occupy the odd chairs $\{1, 3, 5, 7, 9\}$: There are $5! = 120$ ways to seat the 5 women. Now consider seating the husbands in the even chairs $\{2, 4, 6, 8, 10\}$. For each wife sitting in chair $2k - 1$: Her husband cannot sit in the adjacent chairs $2k - 2$ or $2k$ (modulo 10), nor can he sit directly across in chair $2k + 4$ (modulo 10). For any chair $2k - 1$, the adjacent even chairs are $2k - 2$ and $2k$. The chair directly across from chair $2k - 1$ is chair $2k - 1 + 5 = 2k + 4$. Thus, out of the 5 even chairs, the husband is forbidden from 3 chairs: the two adjacent chairs and the opposite chair. Therefore, the husband has only $5 - 3 = 2$ permissible chairs! Specifically, if the women are labeled $W_1, W_2, W_3, W_4, W_5$ in order around the circle in chairs $1, 3, 5, 7, 9$, then husband $H_i$ can only sit in chair $2i + 2$ or $2i - 4 \pmod{10}$. Counting the valid permutations of the 5 husbands with these restricted positions yields exactly 2 valid derangements of the cyclic graph. Thus, once the women are seated, there are only 2 valid assignments for the men. The total number of seating arrangements is \[ 2 \times 5! \times 2 = 2 \times 120 \times 2 = 480. \]

Question 353

Khó · +30 điểm

Đề: AMC 10 2008 · Question 47 · Lớp 8–10

Three red beads, two white beads, and one blue bead are placed in a line in random order. What is the probability that no two neighboring beads are the same color?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{1}{6}$

The total number of distinguishable arrangements of $3$ red ($R$), $2$ white ($W$), and $1$ blue ($B$) beads is $$\dfrac{6!}{3!\,2!\,1!} = 60.$$ To avoid adjacent red beads, the $3$ $R$'s must occupy non-adjacent positions among $\{1, 2, 3, 4, 5, 6\}$. There are $\binom{4}{3} = 4$ possible position sets for the $3$ $R$'s: 1. Positions $(1, 3, 5)$: The remaining beads $(W, W, B)$ go into $(2, 4, 6)$, none of which are adjacent, so all $\dfrac{3!}{2!} = 3$ placements work. 2. Positions $(2, 4, 6)$: $(W, W, B)$ go into $(1, 3, 5)$, none adjacent, giving $3$ valid placements. 3. Positions $(1, 3, 6)$: $(W, W, B)$ go into $(2, 4, 5)$. Since positions $4$ and $5$ are adjacent, they cannot both be $W$; thus $B$ must be at $4$ or $5$, giving $2$ valid placements. 4. Positions $(1, 4, 6)$: $(W, W, B)$ go into $(2, 3, 5)$. Positions $2$ and $3$ are adjacent, so $B$ must be at $2$ or $3$, giving $2$ valid placements.

In total there are $3 + 3 + 2 + 2 = 10$ valid arrangements, so the probability is $\dfrac{10}{60} = \dfrac{1}{6}$.

Question 354

Khó · +30 điểm

Đề: AMC 10 2009 · Question 22 · Lớp 8–10

Two cubical dice each have removable numbers $1$ through $6$. The twelve numbers on the two dice are removed, put into a bag, then drawn one at a time and randomly reattached to the faces of the cubes, one number to each face. The dice are then rolled and the numbers on the two top faces are added. What is the probability that the sum is $7$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{2}{11}$

Rolling the two re-labeled dice is equivalent to choosing two faces independently and uniformly at random from the $12$ faces, one face from each die. By symmetry, this is equivalent to picking two distinct faces chosen uniformly at random, one from die 1 and one from die 2. Alternatively, among all $\binom{12}{2} = 66$ pairs of faces from the $12$ faces: There are $6 \times 6 = 36$ pairs consisting of one face on die 1 and one face on die 2, and $\binom{6}{2} + \binom{6}{2} = 15 + 15 = 30$ pairs on the same die. The twelve labels in the bag are two each of $\{1, 2, 3, 4, 5, 6\}$. A sum of $7$ can be formed by the pairs $\{1, 6\}, \{2, 5\}, \{3, 4\}$. For each of these three pairs of values, there are $2 \times 2 = 4$ pairs of labels that sum to $7$. Thus, there are $3 \times 4 = 12$ pairs of labels among the $\binom{12}{2} = 66$ pairs that sum to $7$. Given that the two chosen faces are on different dice, each of the $\binom{12}{2}$ pairs of faces is equally likely to receive each pair of labels. By symmetry, the probability that two randomly selected faces on different dice have sum $7$ is simply the fraction of pairs of labels that sum to $7$: \[ \dfrac{12}{\binom{12}{2}} = \dfrac{12}{66} = \dfrac{2}{11}. \]

Question 355

Khó · +30 điểm

Đề: AMC 10 2010A · Question 18 · Lớp 8–10

Bernardo randomly picks $3$ distinct numbers from the set $\{1, 2, 3, 4, 5, 6, 7, 8, 9\}$ and arranges them in descending order to form a $3$-digit number. Silvia randomly picks $3$ distinct numbers from the set $\{1, 2, 3, 4, 5, 6, 7, 8\}$ and also arranges them in descending order to form a $3$-digit number. What is the probability that Bernardo's number is larger than Silvia's number?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{37}{56}$

The probability that Bernardo picks a $9$ is $\dfrac{3}{9} = \dfrac{1}{3}$. In this case, his three-digit number will begin with a $9$ and will be larger than Silvia's three-digit number.

If Bernardo does not pick a $9$, then Bernardo and Silvia will form the same number with probability \[ \dfrac{1}{\mathrm{C}_8^3} = \dfrac{1}{56}. \] If they do not form the same number then Bernardo's number will be larger $\dfrac{1}{2}$ of the time. Hence the probability is \[ \dfrac{1}{3} + \dfrac{2}{3} \cdot \dfrac{1}{2}\left(1 - \dfrac{1}{56}\right) = \dfrac{111}{168} = \dfrac{37}{56}. \]

Question 356

Khó · +30 điểm

Đề: AMC 10 2010B · Question 18 · Lớp 8–10

Positive integers $a$, $b$, and $c$ are randomly and independently selected with replacement from the set $\{1, 2, 3, \dots, 2010\}$. What is the probability that $abc + ab + a$ is divisible by $3$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{13}{27}$

Let $N = abc + ab + a = a(bc + b + 1)$. If $a$ is divisible by $3$, then $N$ is divisible by $3$. Note that $2010$ is divisible by $3$, so the probability that $a$ is divisible by $3$ is $\dfrac{1}{3}$.

If $a$ is not divisible by $3$ then $N$ is divisible by $3$ if $bc + b + 1$ is divisible by $3$. Define $b_0$ and $b_1$ so that $b = 3b_0 + b_1$ is an integer and $b_1$ is equal to $0$, $1$, or $2$. Note that each possible value of $b_1$ is equally likely. Similarly define $c_0$ and $c_1$. Then $$\begin{aligned} bc + b + 1 &= (3b_0 + b_1)(3c_0 + c_1) + 3b_0 + b_1 + 1 \\ &= 3(3b_0 c_0 + c_0 b_1 + c_1 b_0 + b_0) + b_1 c_1 + b_1 + 1. \end{aligned}$$ Hence $bc + b + 1$ is divisible by $3$ if and only if $b_1 = 1$ and $c_1 = 1$, or $b_1 = 2$ and $c_1 = 0$. The probability of this occurrence is $\dfrac{1}{3} \cdot \dfrac{1}{3} + \dfrac{1}{3} \cdot \dfrac{1}{3} = \dfrac{2}{9}$.

Therefore the requested probability is $\dfrac{1}{3} + \dfrac{2}{3} \cdot \dfrac{2}{9} = \dfrac{13}{27}$.

Question 357

Khó · +30 điểm

Đề: AMC 10 2010B · Question 21 · Lớp 8–10

A palindrome between $1000$ and $10{,}000$ is chosen at random. What is the probability that it is divisible by $7$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{1}{5}$

Each four-digit palindrome has digit representation $abba$ with $1 \leqslant a \leqslant 9$ and $0 \leqslant b \leqslant 9$. The value of the palindrome is $1001a + 110b$. Because $1001$ is divisible by $7$ and $110$ is not, the palindrome is divisible by $7$ if and only if $b = 0$ or $b = 7$. Thus the requested probability is $\dfrac{2}{10} = \dfrac{1}{5}$.

Question 358

Khó · +30 điểm

Đề: AMC 10 2010B · Question 22 · Lớp 8–10

Seven distinct pieces of candy are to be distributed among three bags. The red bag and the blue bag must each receive at least one piece of candy; the white bag may remain empty. How many arrangements are possible?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $1932$

If there were no restrictions on the number of candies per bag, then each piece of candy could be distributed in $3$ ways. In this case there would be $3^7$ ways to distribute the candy. However, this counts the cases where the red bag or blue bag is empty.

If the red bag remained empty then the candy could be distributed in $2^7$ ways. The same is true for the blue bag. Both totals include the case in which all the candy is put into the white bag. Hence there are $2^7 + 2^7 - 1$ ways to distribute the candy such that either the red or blue bag is empty.

The number of ways to distribute the candy, subject to the given conditions, is $3^7 - (2^7 + 2^7 - 1) = 1932$.

Question 359

Khó · +30 điểm

Đề: AMC 10 2011A · Question 21 · Lớp 8–10

Two counterfeit coins of equal weight are mixed with $8$ identical genuine coins. The weight of each of the counterfeit coins is different from the weight of each of the genuine coins. A pair of coins is selected at random without replacement from the $10$ coins. A second pair is selected at random without replacement from the remaining $8$ coins. The combined weight of the first pair is equal to the combined weight of the second pair. What is the probability that all $4$ selected coins are genuine?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $\dfrac{15}{19}$

The weights of the two pairs of coins are equal if each pair contains the same number of counterfeit coins. Therefore either the first pair and the second pair both contain only genuine coins, or the first pair and the second pair both contain one counterfeit coin. The number of ways to choose the coins in the first case is $\binom{8}{2} \cdot \binom{6}{2} = 420$. The number of ways to choose the coins in the second case is $8 \cdot 2 \cdot 7 \cdot 1 = 112$. Therefore the requested probability is $\dfrac{420}{112 + 420} = \dfrac{15}{19}$.

Question 360

Khó · +30 điểm

Đề: AMC 10 2011A · Question 22 · Lớp 8–10

Each vertex of convex pentagon $ABCDE$ is to be assigned a color. There are $6$ colors to choose from, and the ends of each diagonal must have different colors. How many different colorings are possible?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $3120$

If five distinct colors are used, then there are $\binom{6}{5} = 6$ different color choices possible. They may be arranged in $5! = 120$ ways on the pentagon, resulting in $120 \cdot 6 = 720$ colorings.

If four distinct colors are used, then there is one duplicated color, so there are $\binom{6}{4}\binom{4}{1} = 60$ different color choices possible. The duplicated color must appear on neighboring vertices. There are $5$ neighbor choices and $3! = 6$ ways to color the remaining three vertices, resulting in a total of $60 \cdot 5 \cdot 6 = 1800$ colorings.

If three distinct colors are used, then there must be two duplicated colors, so there are $\binom{6}{3}\binom{3}{2} = 60$ different color choices possible. The non-duplicated color may appear in $5$ locations. As before, a duplicated color must appear on neighboring vertices, so there are $2$ ways left to color the remaining vertices. In this case there are $60 \cdot 5 \cdot 2 = 600$ colorings possible.

There are no colorings with two or fewer colors. The total number of colorings is $720 + 1800 + 600 = 3120$.

Cài đặt ứng dụng O₂ Education

Thêm O₂ Education vào Màn hình chính trên iPhone / iPad để học nhanh như ứng dụng gốc:

  1. Nhấn biểu tượng Chia sẻ trên thanh công cụ Safari.
  2. Cuộn xuống và chọn Thêm vào MH chính (Add to Home Screen).
  3. Nhấn Thêm ở góc trên bên phải để hoàn tất.