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ó 373 bài tập Combinatorics · Tổ hợp · khối Lớp 9 · Trang 14/25 (Question 196–210)

Điểm: 0/15

Question 196

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 197

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 198

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 199

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 200

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

Question 201

Khó · +30 điểm

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

Brian writes down four integers $w > x > y > z$ whose sum is $44$. The pairwise positive differences of these numbers are $1, 3, 4, 5, 6$, and $9$. What is the sum of the possible values for $w$?

Chọn đáp án

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

Đáp án: $31$

The largest pairwise difference is $9$, so $w - z = 9$. Let $n$ be either $x$ or $y$. Because $n$ is between $w$ and $z$, \[9 = w - z = (w - n) + (n - z).\] Therefore the positive differences $w - n$ and $n - z$ must sum to $9$. The given pairwise differences that sum to $9$ are $3 + 6$ and $4 + 5$. The remaining pairwise difference must be $x - y = 1$.

The second largest pairwise difference is $6$, so either $w - y = 6$ or $x - z = 6$. In the first case the set of four numbers may be expressed as $\{w, w - 5, w - 6, w - 9\}$. Hence $4w - 20 = 44$, so $w = 16$. In the second case $w - x = 3$, and the four numbers may be expressed as $\{w, w - 3, w - 4, w - 9\}$. Therefore $4w - 16 = 44$, so $w = 15$. The sum of the possible values for $w$ is $16 + 15 = 31$.

Note: The possible sets of four numbers are $\{16, 11, 10, 7\}$ and $\{15, 12, 11, 6\}$.

Question 202

Khó · +30 điểm

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

A $3 \times 3$ square is partitioned into $9$ unit squares. Each unit square is painted either white or black with each color being equally likely, chosen independently and at random. The square is then rotated $90^\circ$ clockwise about its center, and every white square in a position formerly occupied by a black square is painted black. The colors of all other squares are left unchanged. What is the probability that the grid is now entirely black?

Chọn đáp án

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

Đáp án: $\dfrac{49}{512}$

There are $2^4 = 16$ possible initial colorings for the four corner squares. If their initial coloring is $BBBB$, one of the four cyclic permutations of $BBBW$, or one of the two cyclic permutations of $BWBW$, then all four corner squares are black at the end. If the initial coloring is $WWWW$, one of the four cyclic permutations of $BWWW$, or one of the four cyclic permutations of $BBWW$, then at least one corner square is white at the end. Hence all four corner squares are black at the end with probability $\dfrac{7}{16}$. Similarly, all four edge squares are black at the end with probability $\dfrac{7}{16}$. The center square is black at the end if and only if it was initially black, so it is black at the end with probability $\dfrac{1}{2}$. The probability that all nine squares are black at the end is $\dfrac{1}{2} \cdot \left(\dfrac{7}{16}\right)^2 = \dfrac{49}{512}$.

Question 203

Khó · +30 điểm

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

Suppose that one of every $500$ people in a certain population has a particular disease, which displays no symptoms. A blood test is available for screening for this disease. For a person who has this disease, the test always turns out positive. For a person who does not have the disease, however, there is a $2\%$ false positive rate—in other words, for such people, $98\%$ of the time the test will turn out negative, but $2\%$ of the time the test will turn out positive and will incorrectly indicate that the person has the disease. Let $p$ be the probability that a person who is chosen at random from this population and gets a positive test result actually has the disease. Which of the following is closest to $p$?

Chọn đáp án

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

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

On average for every $500$ people tested, $1$ will test positive because he or she has the disease, while $2\% \cdot 499 \approx 10$ will test positive even though they do not have the disease. In other words, of approximately $11$ people who test positive, only $1$ has the disease, so the probability is approximately $\dfrac{1}{11}$.

Question 204

Khó · +30 điểm

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

Let $(a_1, a_2, \dots, 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 $\binom{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} \binom{9}{k-1} = \sum_{k=0}^{9} \binom{9}{k} = 2^9 = 512. \] Alternatively, if $a_{10}$ is not $1$ or $10$, then numbers larger than $a_{10}$ must appear in reverse order in the list, and numbers smaller than $a_{10}$ must appear in order. However, $1$ and $10$ cannot both appear first in the list, so the placement of either $1$ or $10$ would violate the given conditions. Hence $a_{10} = 1$ or $10$. By similar reasoning, when reading the list from right to left the number that appears next must be the smallest or largest unused integer from $1$ to $10$. This gives $2$ choices for each term until there is one number left. Hence there are $2^9 = 512$ choices.

Question 205

Khó · +30 điểm

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

The number $2013$ has the property that its units digit is the sum of its other digits, that is $2 + 0 + 1 = 3$. How many integers less than $2013$ but greater than $1000$ share this property?

Chọn đáp án

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

Đáp án: $46$

Between $2000$ and $2012$, any such number starts with $20\dots$, so its units digit must be at least $2 + 0 = 2$; checking $200d$ gives $2 + 0 + 0 = 2 \implies 2002$, and $201d$ gives $2 + 0 + 1 = 3 \implies 2013$ (which is excluded). Thus $2002$ is the only solution in $[2000, 2012]$. For numbers in $[1001, 1999]$, the thousands digit is $1$, so a number $\overline{1bcd}$ satisfies $d = 1 + b + c$, meaning $b + c = d - 1$. For each units digit $d \in \{1, 2, \dots, 9\}$, the nonnegative integer pairs $(b, c)$ with $b + c = d - 1$ (automatically $b, c \leqslant 8$) number exactly $d$ (namely $b \in \{0, 1, \dots, d - 1\}$). Summing over $d = 1, 2, \dots, 9$ gives $1 + 2 + \dots + 9 = \dfrac{9 \cdot 10}{2} = 45$ numbers. Including $2002$, there are $45 + 1 = 46$ such integers.

Question 206

Khó · +30 điểm

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

The regular octagon $ABCDEFGH$ has its center at $J$. Each of the vertices and the center are to be associated with one of the digits $1$ through $9$, with each digit used once, in such a way that the sums of the numbers on the lines $AJE$, $BJF$, $CJG$, and $DJH$ are equal. In how many ways can this be done?

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

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

Đáp án: $1152$

Let $j$ be the digit placed at the center $J$, and let $S$ be the common sum of the three digits on each of the four lines $AJE$, $BJF$, $CJG$, and $DJH$. Adding all four line sums counts $j$ four times and every other digit from $1$ to $9$ once, so \[ 4S = 3j + (1 + 2 + \dots + 9) = 3j + 45. \] For $45 + 3j$ to be divisible by $4$ with $j \in \{1, 2, \dots, 9\}$, we need $3j \equiv 3 \pmod{4}$, so $j \equiv 1 \pmod{4}$, giving $3$ possible values: $j \in \{1, 5, 9\}$. For each valid $j$, the remaining $8$ digits have a fixed average $\dfrac{S - j}{2}$ and uniquely partition into $4$ pairs each summing to $S - j$ (for instance, when $j = 1$, $S = 12$, so the pairs summing to $11$ are $\{2, 9\}$, $\{3, 8\}$, $\{4, 7\}$, and $\{5, 6\}$). There are $4! = 24$ ways to assign these $4$ pairs to the $4$ opposite vertex pairs $(A, E), (B, F), (C, G), (D, H)$, and $2^4 = 16$ ways to order the two digits within each pair. Hence the total number of valid assignments is \[ 3 \cdot 4! \cdot 2^4 = 3 \cdot 24 \cdot 16 = 1152. \]

Question 207

Khó · +30 điểm

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

A list of $11$ positive integers has a mean of $10$, a median of $9$, and a unique mode of $8$. What is the largest possible value of an integer in the list?

Chọn đáp án

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

Đáp án: $35$

Order the $11$ positive integers as $x_1 \leqslant x_2 \leqslant \dots \leqslant x_{11}$. We are given:

  • Sum: $x_1 + x_2 + \dots + x_{11} = 11 \times 10 = 110$.
  • Median: $x_6 = 9$.
  • Unique mode: $8$ (so every occurrence of $8$ lies among $x_1, \dots, x_5$).

To maximize $x_{11}$, we must minimize $x_1 + x_2 + \dots + x_{10}$ while ensuring $8$ strictly outnumbers every other value's frequency $f$:

  • Case 1 ($8$ appears twice, $f(8) = 2$): No other integer can repeat, so the minimal choice is $(1, 2, 3, 8, 8, 9, 10, 11, 12, 13)$, which sums to $77$ and gives $x_{11} = 110 - 77 = 33$.
  • Case 2 ($8$ appears three times, $f(8) = 3$): Other integers may appear up to $2$ times! Minimizing $x_1, x_2$ gives $(1, 1)$, followed by $(8, 8, 8)$, and minimizing $x_6, \dots, x_{10} \geqslant 9$ with at most $2$ copies each gives $(9, 9, 10, 10, 11)$. Their sum is $$(1 + 1 + 8 + 8 + 8) + (9 + 9 + 10 + 10 + 11) = 26 + 49 = 75,$$ yielding $x_{11} = 110 - 75 = 35$.
  • Case 3 ($8$ appears four times, $f(8) = 4$): $(1, 8, 8, 8, 8, 9, 9, 9, 10, 10)$ sums to $80$, giving $x_{11} = 30 < 35$.

Checking $(1, 1, 8, 8, 8, 9, 9, 10, 10, 11, 35)$ confirms mean $10$, median $9$, and unique mode $8$. Hence the maximum possible integer is $35$.

Question 208

Khó · +30 điểm

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

For how many integers $x$ is the number $x^4 - 51x^2 + 50$ negative?

Chọn đáp án

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

Đáp án: $12$

Factoring the polynomial as a quadratic in $x^2$: \[ x^4 - 51x^2 + 50 = (x^2 - 1)(x^2 - 50). \] The expression is negative when the two factors have opposite signs: \[ (x^2 - 1)(x^2 - 50) < 0 \iff 1 < x^2 < 50. \] Taking square roots for positive and negative integers $x$:

  • For $x > 0$: $1 < x < \sqrt{50} \approx 7.07$, so $x \in \{2, 3, 4, 5, 6, 7\}$ ($6$ integers).
  • For $x < 0$: $-\sqrt{50} < x < -1$, so $x \in \{-7, -6, -5, -4, -3, -2\}$ ($6$ integers).

Thus there are $6 + 6 = 12$ such integers.

Question 209

Khó · +30 điểm

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

Hexadecimal (base-$16$) numbers are written using the numeric digits $0$ through $9$ as well as the letters $A$ through $F$ to represent $10$ through $15$. Among the first $1000$ positive integers, there are $n$ whose hexadecimal representation contains only numeric digits. What is the sum of the digits of $n$?

Chọn đáp án

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

Đáp án: $21$

Writing $1000$ in base $16$ gives $1000 = 3 \cdot 16^2 + 14 \cdot 16 + 8 = 3E8_{16}$. Hence any positive integer from $1$ to $1000$ has at most $3$ hexadecimal digits, and the largest such integer using only the numeric digits $0$ through $9$ is $399_{16} = 3 \cdot 16^2 + 9 \cdot 16 + 9 = 921 \leqslant 1000$. Each $3$-digit hexadecimal string (allowing leading zeros) with first digit in $\{0, 1, 2, 3\}$ and second and third digits in $\{0, 1, \dots, 9\}$ represents an integer in $\{0, 1, \dots, 921\}$. There are $4 \cdot 10 \cdot 10 = 400$ such strings, and excluding $000_{16} = 0$ leaves $n = 399$. The sum of the digits of $n$ is $3 + 9 + 9 = 21$.

Question 210

Khó · +30 điểm

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

Eight people are sitting around a circular table, each holding a fair coin. All eight people flip their coins and those who flip heads stand while those who flip tails remain seated. What is the probability that no two adjacent people will stand?

Chọn đáp án

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

Đáp án: $\dfrac{47}{256}$

There are $2^8 = 256$ equally likely outcomes for the $8$ coin flips. We count the number of outcomes with no two adjacent heads according to the number $k$ of heads:

  • For $k = 0$: there is $1$ outcome.
  • For $k = 1$: there are $8$ outcomes.
  • For $k = 2$: out of $\mathrm{C}_8^2 = 28$ pairs of people, $8$ pairs are adjacent, leaving $28 - 8 = 20$ outcomes.
  • For $k = 3$: out of $\mathrm{C}_8^3 = 56$ triples, $8$ triples consist of three consecutive people, and $8 \cdot 4 = 32$ triples consist of two adjacent people plus one non-adjacent person (choose the adjacent pair in $8$ ways, then choose the third person from the $4$ non-adjacent seats). This leaves $56 - 8 - 32 = 16$ outcomes.
  • For $k = 4$: heads and tails must alternate around the circle, giving $2$ outcomes.
  • For $k \geqslant 5$: by the Pigeonhole Principle, at least two heads must be adjacent, giving $0$ outcomes.

In total there are $1 + 8 + 20 + 16 + 2 = 47$ valid outcomes, so the probability is $\dfrac{47}{256}$.

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.