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ó 1960 bài tập Combinatorics · Tổ hợp · tất cả các khối lớp · Trang 116/131 (Question 1726–1740)

Điểm: 0/15

Question 1726

Khó · +30 điểm

Đề: AMC 12 2003 · Question 20 · Lớp 10–12

How many 15-letter arrangements of 5 A's, 5 B's, and 5 C's have no A's in the first 5 letters, no B's in the next 5 letters, and no C's in the last 5 letters?

Chọn đáp án

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

Đáp án: $\sum_{k=0}^5 \binom{5}{k}^3$

Divide the 15 positions into three blocks of 5: Block 1 (positions 1–5), Block 2 (positions 6–10), Block 3 (positions 11–15). Block 1 contains no A's, so its 5 letters must be B's and C's. Let Block 1 contain $k$ B's and $5 - k$ C's, where $0 \leqslant k \leqslant 5$. The number of ways to arrange them in Block 1 is $\binom{5}{k}$. Block 2 contains no B's, so its 5 letters must be A's and C's. Since there are 5 B's in total and $k$ B's are in Block 1, the remaining $5 - k$ B's must be in Block 3. Since Block 3 contains no C's, its 5 letters must be A's and B's. Because Block 3 has $5 - k$ B's, it must contain $5 - (5 - k) = k$ A's. The number of ways to arrange the letters in Block 3 is $\binom{5}{k}$. Finally, Block 2 must contain the remaining A's and C's: The number of A's in Block 2 is $5 - k$, and the number of C's in Block 2 is $5 - (5 - k) = k$. The number of ways to arrange the letters in Block 2 is $\binom{5}{k}$. For each $k \in \{0, 1, 2, 3, 4, 5\}$, the number of arrangements is \[ \binom{5}{k} \times \binom{5}{k} \times \binom{5}{k} = \binom{5}{k}^3. \] Summing over all possible values of $k$ from 0 to 5 gives \[ \sum_{k=0}^5 \binom{5}{k}^3. \]

Question 1727

Khó · +30 điểm

Đề: AMC 12 2003 · Question 22 · Lớp 10–12

Objects A and B move simultaneously in the coordinate plane via a sequence of steps, each of length one. Object A starts at $(0, 0)$ and each of its steps is either right or up, both equally likely. Object B starts at $(5, 7)$ and each of its steps is either left or down, both equally likely. Which of the following is closest to the probability that the objects meet?

Chọn đáp án

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

Đáp án: $0.20$

At each step, the sum of the coordinates of A increases by 1, starting from $0 + 0 = 0$. At each step, the sum of the coordinates of B decreases by 1, starting from $5 + 7 = 12$. For the two objects to meet, the sum of their coordinates must be equal, which occurs after exactly 6 steps: \[ 0 + 6 = 12 - 6 = 6. \] After 6 steps, A is at some point $(x, 6 - x)$ with $0 \leqslant x \leqslant 5$. The probability that A is at $(x, 6 - x)$ is $\binom{6}{x} \left(\dfrac{1}{2}\right)^6$. After 6 steps, B has taken 6 steps down/left, so its position is $(5 - (6 - y), 7 - y)$ for some $y$, with coordinate sum 6. For B to reach the exact same point $(x, 6 - x)$, B must take $5 - x$ steps left and $7 - (6 - x) = 1 + x$ steps down. Since the total steps for B is $(5 - x) + (1 + x) = 6$, this is possible for each $0 \leqslant x \leqslant 5$. The probability that B reaches $(x, 6 - x)$ is $\binom{6}{5 - x} \left(\dfrac{1}{2}\right)^6$. Since the movements of A and B are independent, the probability that they meet at $(x, 6 - x)$ is \[ P(x) = \binom{6}{x} \binom{6}{5 - x} \left(\dfrac{1}{2}\right)^{12}. \] Summing over all possible meeting points $x \in \{0, 1, 2, 3, 4, 5\}$: By Vandermonde's Identity, \[ \sum_{x=0}^5 \binom{6}{x} \binom{6}{5 - x} = \binom{12}{5}. \] We calculate $\binom{12}{5}$: \[ \binom{12}{5} = \dfrac{12 \times 11 \times 10 \times 9 \times 8}{5 \times 4 \times 3 \times 2 \times 1} = 792. \] The total probability is \[ \dfrac{792}{2^{12}} = \dfrac{792}{4096} \approx 0.1934. \] The closest value is 0.20.

Question 1728

Khó · +30 điểm

Đề: AMC 12 2003 · Question 44 · Lớp 10–12

Let $S$ be the set of permutations of the sequence $1, 2, 3, 4, 5$ for which the first term is not $1$. A permutation is chosen randomly from $S$. The probability that the second term is $2$, in lowest terms, is $a/b$. What is $a + b$?

Chọn đáp án

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

Đáp án: $19$

Let the permutation be $(x_1, x_2, x_3, x_4, x_5)$. The total number of permutations of $\{1, 2, 3, 4, 5\}$ such that $x_1 \ne 1$ is: Since $x_1$ can be any of the $4$ elements $\{2, 3, 4, 5\}$, and the remaining $4$ positions can be arranged in $4!$ ways: \[ |S| = 4 \times 4! = 4 \times 24 = 96. \] Now we count the number of permutations in $S$ where the second term is $2$ ($x_2 = 2$): Since $x_2 = 2$, $x_1$ cannot be $2$. Also $x_1 \ne 1$. So $x_1 \in \{3, 4, 5\}$, which gives $3$ choices for $x_1$. The remaining $3$ positions ($x_3, x_4, x_5$) can be filled by the remaining $3$ numbers in $3! = 6$ ways. Thus, the number of favorable permutations is: \[ 3 \times 3! = 3 \times 6 = 18. \] The probability is: \[ \dfrac{18}{96} = \dfrac{3}{16}. \] In lowest terms, $\dfrac{a}{b} = \dfrac{3}{16}$, so $a = 3$ and $b = 16$. Therefore, \[ a + b = 3 + 16 = 19. \]

Question 1729

Khó · +30 điểm

Đề: AMC 12 2004 · Question 20 · Lớp 10–12

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$?

Chọn đáp án

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}$.

Question 1730

Khó · +30 điểm

Đề: AMC 12 2004 · Question 45 · Lớp 10–12

Each face of a cube is painted either red or blue, each with probability $1/2$. The color of each face is determined independently. What is the probability that the painted cube can be placed on a horizontal surface so that the four vertical faces are all the same color?

Chọn đáp án

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

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

There are $2^6 = 64$ equally likely face colorings. Placing the cube on a horizontal table leaves a ring of $4$ vertical faces around the side; there are $3$ such rings corresponding to the $3$ pairs of opposite faces.

Let $E_1, E_2, E_3$ be the events that ring $1, 2, 3$ is monochromatic (all $4$ faces red or all $4$ faces blue):

  • Single ring: $|E_i| = 2 \times 2^2 = 8$ colorings ($2$ choices for the ring's color and $2^2$ choices for the top/bottom faces).
  • Two rings simultaneously ($E_i \cap E_j$): Any two distinct rings share two opposite faces and together cover all $6$ faces of the cube, so they are both monochromatic if and only if all $6$ faces have the same color ($|E_i \cap E_j| = 2$).
  • All three rings ($E_1 \cap E_2 \cap E_3$): Likewise all $6$ faces have the same color ($|E_1 \cap E_2 \cap E_3| = 2$).

By Inclusion–Exclusion, the number of favorable colorings is $$3(8) - 3(2) + 2 = 20,$$ giving probability $\dfrac{20}{64} = \dfrac{5}{16}$.

Question 1731

Khó · +30 điểm

Đề: AMC 12 2012A · Question 19 · Lớp 10–12

Adam, Benin, Chiang, Deshawn, Esther, and Fiona have internet accounts. Some, but not all, of them are internet friends with each other, and none of them has an internet friend outside this group. Each of them has the same number of internet friends. In how many different ways can this happen?

Chọn đáp án

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

Đáp án: $170$

This situation can be modeled with a graph having these six people as vertices, in which two vertices are joined by an edge if and only if the corresponding people are internet friends. Let $n$ be the number of friends each person has; then $1 \leqslant n \leqslant 4$. If $n = 1$, then the graph consists of three edges sharing no endpoints. There are $5$ choices for Adam's friend and then $3$ ways to partition the remaining $4$ people into $2$ pairs of friends, for a total of $5 \cdot 3 = 15$ possibilities. The case $n = 4$ is complementary, with non-friendship playing the role of friendship, so there are $15$ possibilities in that case as well. For $n = 2$, the graph must consist of cycles, and the only two choices are two triangles ($3$-cycles) and a hexagon ($6$-cycle). In the former case, there are $C_5^2 = 10$ ways to choose two friends for Adam and that choice uniquely determines the triangles. In the latter case, every permutation of the six vertices determines a hexagon, but each hexagon is counted $6 \cdot 2 = 12$ times, because the hexagon can start at any vertex and be traversed in either direction. This gives $\dfrac{6!}{12} = 60$ hexagons, for a total of $10 + 60 = 70$ possibilities. The complementary case $n = 3$ provides $70$ more. The total is therefore $15 + 15 + 70 + 70 = 170$.

Question 1732

Khó · +30 điểm

Đề: AMC 12 2012B · Question 18 · Lớp 10–12

Let $(a_1, a_2, \ldots, a_{10})$ be a list of the first $10$ positive integers such that for each $2 \leqslant i \leqslant 10$ either $a_i + 1$ or $a_i - 1$ or both appear somewhere before $a_i$ in the list. How many such lists are there?

Chọn đáp án

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

Đáp án: $512$

If $a_1 = 1$, then the list must be an increasing sequence. Otherwise let $k = a_1$. Then the numbers $1$ through $k - 1$ must appear in increasing order from right to left, and the numbers from $k$ through $10$ must appear in increasing order from left to right. For $2 \leqslant k \leqslant 10$ there are $C_9^{k-1}$ ways to choose positions in the list for the numbers from $1$ through $k - 1$, and the positions of the remaining numbers are then determined. The number of lists is therefore \[ 1 + \sum_{k=2}^{10} C_9^{k-1} = \sum_{k=0}^{9} C_9^k = 2^9 = 512. \]

Question 1733

Khó · +30 điểm

Đề: AMC 12 2012B · Question 22 · Lớp 10–12

A bug travels from $A$ to $B$ along the segments in the hexagonal lattice pictured below. The segments marked with an arrow can be traveled only in the direction of the arrow, and the bug never travels the same segment more than once. How many different paths are there?

Hình minh họa câu 22
Chọn đáp án

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

Đáp án: $2400$

Label the columns having arrows as $c_1, c_2, c_3, \ldots, c_7$ according to the figure. Call those segments that can be traveled only from left to right forward segments. Call the segments $s_1$, $s_2$, and $s_3$, in columns $c_2$, $c_4$, and $c_6$, respectively, which can be traveled only from right to left, back segments. Denote $S$ as the set of back segments traveled for a path. First suppose that $S = \emptyset$. Because it is not possible to travel a segment more than once, it follows that the path is uniquely determined by choosing one forward segment in each of the columns $c_j$. There are $2, 2, 4, 4, 4, 2,$ and $2$ choices for the forward segment in columns $c_1, c_2, c_3, c_4, c_5, c_6,$ and $c_7$, respectively. This gives a total of $2^{10}$ total paths in this case. Next suppose that $S = \{s_1\}$. The two forward segments in $c_2$, together with $s_1$, need to be part of the path, and once the forward segment from $c_1$ is chosen, the order in which the segments of $c_2$ are traveled is determined. Moreover, there are only $2$ choices for possible segments in $c_3$ depending on the last segment traveled in $c_2$, either the bottom $2$ or the top $2$. For the rest of the columns, the path is determined by choosing any forward segment. Thus the total number of paths in this case is $2 \cdot 1 \cdot 2 \cdot 4 \cdot 4 \cdot 2 \cdot 2 = 2^8$, and by symmetry this is also the total for the number of paths when $S = \{s_3\}$. A similar argument gives $2 \cdot 1 \cdot 2 \cdot 4 \cdot 2 \cdot 1 \cdot 2 = 2^6$ trips for the case when $S = \{s_1, s_3\}$. Suppose $S = \{s_2\}$. Because $s_2$ is traveled, it follows that $2$ forward segments in $c_4$ need to belong to the path, one of them above $s_2$ ($2$ choices) and the other below it ($2$ choices). Once these are determined, there are $2$ possible choices for the order in which these segments are traveled: the bottom forward segment first, then $s_2$, then the top forward segment, or vice versa. Next, there are only $2$ possible forward segments that can be selected in $c_3$ and also only $2$ possible forward segments that can be selected in $c_5$. The forward segments in $c_1$, $c_2$, $c_6$, and $c_7$ can be freely selected ($2$ choices each). This gives a total of $(2^3 \cdot 2 \cdot 2) \cdot 2^4 = 2^9$ paths. If $S = \{s_1, s_2\}$, then the analysis is similar, except for the last step, where the forward segments of $c_1$ and $c_2$ are determined by the previous choices. Thus there are $(2^3 \cdot 2 \cdot 2) \cdot 2^2 = 2^7$ possibilities, and by symmetry the same number when $S = \{s_2, s_3\}$. Finally, if $S = \{s_1, s_2, s_3\}$, then in the last step, all forward segments of $c_1, c_2, c_6,$ and $c_7$ are determined by the previous choices and hence there are $2^3 \cdot 2 \cdot 2 = 2^5$ possible paths. Altogether the total number of paths is $2^{10} + 2 \cdot 2^8 + 2^6 + 2^9 + 2 \cdot 2^7 + 2^5 = 2400$.

Question 1734

Khó · +30 điểm

Đề: AMC 12 2013A · Question 20 · Lớp 10–12

Let $S$ be the set $\{1, 2, 3, \dots, 19\}$. For $a, b \in S$, define $a \succ b$ to mean that either $0 < a - b \leqslant 9$ or $b - a > 9$. How many ordered triples $(x, y, z)$ of elements of $S$ have the property that $x \succ y$, $y \succ z$, and $z \succ x$?

Chọn đáp án

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

Đáp án: $855$

Consider the elements of $S$ as integers modulo $19$. Assume $a \succ b$. If $a > b$, then $a - b \leqslant 9$. If $a < b$, then $b - a > 9$; that is $b - a \geqslant 10$ and so $(a + 19) - b \leqslant 9$. Thus $a \succ b$ if and only if $0 < (a - b) \pmod{19} \leqslant 9$. Suppose that $(x, y, z)$ is a triple in $S \times S \times S$ such that $x \succ y$, $y \succ z$, and $z \succ x$. There are $19$ possibilities for the first entry $x$. Once $x$ is chosen, $y$ can equal $x + i$ for any $i$, $1 \leqslant i \leqslant 9$. Then $z$ is at most $x + 9 + i$ and at least $x + 10$, so once $y$ is chosen, there are $i$ possibilities for the third element $z$. The number of required triples is equal to $19(1 + 2 + \dots + 9) = 19 \cdot \dfrac{1}{2} \cdot 9 \cdot 10 = 19 \cdot 45 = 855$.

Question 1735

Khó · +30 điểm

Đề: AMC 12 2013A · Question 22 · Lớp 10–12

A palindrome is a nonnegative integer number that reads the same forwards and backwards when written in base $10$ with no leading zeros. A $6$-digit palindrome $n$ is chosen uniformly at random. What is the probability that $\dfrac{n}{11}$ is also a palindrome?

Chọn đáp án

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

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

Let $n$ be a $6$-digit palindrome, $m = \dfrac{n}{11}$, and suppose $m$ is a palindrome as well. First, if $m$ is a $4$-digit number, then $n = 11m < 11 \cdot 10^5 = 10^6 + 10^5$. Thus the first and last digit of $n$ is $1$. Thus the last digit of $m$ is $1$ and then the first digit of $m$ must be $1$ as well. Then $m \leqslant 1991 < 2000$ and $n = 11m < 11 \cdot 2000 = 22000$, which is a contradiction. Therefore $m$ is a $5$-digit number $abcba$. If $a + b \leqslant 9$ and $b + c \leqslant 9$, then there are no carries in the sum $n = 11m = abcba0 + abcba$; thus the digits of $n$ in order are $a, a + b, b + c, b + c, a + b$, and $a$. Conversely, if $a + b \geqslant 10$, then the first digit of $n$ is $a + 1$ and the last digit $a$; and if $a + b \leqslant 9$ but $b + c \geqslant 10$, then the second digit of $n$ is $a + b + 1$ if $a + b < 9$, or $0$ if $a + b = 9$, and the previous to last digit is $a + b$. In any case $n$ is not a palindrome. Therefore $n = 11m$ is a palindrome if and only if $a + b \leqslant 9$ and $b + c \leqslant 9$. Thus the number of pairs $(m, n)$ is equal to \[\sum_{b=0}^{9} \sum_{c=0}^{9-b} \sum_{a=1}^{9-b} 1 = \sum_{b=0}^{9} (10 - b)(9 - b).\] Letting $j = 10 - b$ gives \[\sum_{j=1}^{10} j(j - 1) = \dfrac{10 \cdot 11 \cdot 21}{6} - \dfrac{10 \cdot 11}{2} = 330.\] The total number of $6$-digit palindromes $abccba$ is determined by $10$ choices for each of $b$ and $c$, and $9$ choices for $a$, for a total of $9 \cdot 10^2 = 900$. Thus the required probability is $\dfrac{330}{900} = \dfrac{11}{30}$.

Question 1736

Trung bình · +20 điểm

Đề: SAT Math · Đề thi thử chuẩn Digital SAT #20 (44 câu · 70 phút) · Question 17 · Lớp 10–12

The table summarizes the exam results of $58$ students by study mode. If a student is selected at random from those who studied Online, what is the probability that the student Passed?

Hình minh họa câu 17
Chọn đáp án

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

Đáp án: $\dfrac{17}{33}$

Restricting to the Online row gives $17 + 16 = 33$ students, of whom $17$ passed: $\dfrac{17}{33} = \dfrac{17}{33}$.

Question 1737

Trung bình · +20 điểm

Đề: SAT Math · Đề thi thử chuẩn Digital SAT #20 (44 câu · 70 phút) · Question 39 · Lớp 10–12

The table summarizes the exam results of $51$ students by study mode. If a student is selected at random from those who Passed, what is the probability that the student studied In-Person?

Hình minh họa câu 39
Chọn đáp án

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

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

Restricting to the Passed column gives $15 + 13 = 28$ students, of whom $13$ studied In-Person: $\dfrac{13}{28} = \dfrac{13}{28}$.

Given $P(A) = 0.6$, $P(B) = 0.5$, and $P(A \cap B) = 0.3$. Are $A$ and $B$ independent? If independent, enter 1; if not independent, enter 0.

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

Đáp án: $1$

Answer / Đáp án: 1

Check $P(A) \times P(B) = 0.6 \times 0.5 = 0.30 = P(A \cap B)$, so $A$ and $B$ are indeed independent ($1$).

Nguồn học liệu gốc: Everything Maths Grade 11 & 12 · Siyavula & FHSST Contributors (CC BY 3.0, github.com/Siyavula/siyavula-books).

In a $2 \times 2$ contingency table of $80$ students: $30$ boys pass, $10$ boys fail, $30$ girls pass, and $10$ girls fail. Given that a randomly chosen student passed, what is the conditional probability they are a boy? (Enter decimal)

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

Đáp án: $0.5$

Answer / Đáp án: 0.5

Total students who passed $= 30 + 30 = 60$. Thus $P(\text{Boy} \mid \text{Pass}) = \dfrac{30}{60} = 0.5$.

Nguồn học liệu gốc: Everything Maths Grade 11 & 12 · Siyavula & FHSST Contributors (CC BY 3.0, github.com/Siyavula/siyavula-books).

A fair coin is tossed $3$ times. What is the probability of obtaining at least one Head? (Enter decimal)

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

Đáp án: $0.875$

Answer / Đáp án: 0.875

Use the complement: $P(\text{at least one H}) = 1 - P(\text{TTT}) = 1 - \dfrac{1}{8} = 0.875$.

Nguồn học liệu gốc: Everything Maths Grade 11 & 12 · Siyavula & FHSST Contributors (CC BY 3.0, github.com/Siyavula/siyavula-books).

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.