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ó 669 bài tập Combinatorics · Tổ hợp · khối Lớp 11 · Trang 6/45 (Question 76–90)

Điểm: 0/15

Question 76

Cực khó · +50 điểm

Đề: AIME 2018 Session II · Question 11 · Lớp 9–12

Find the number of permutations of $1, 2, 3, 4, 5, 6$ such that for each $k$ with $1 \leqslant k \leqslant 5$, at least one of the first $k$ terms of the permutation is greater than $k$.

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

Đáp án: $461$

Let a permutation of $\{1, 2, \dots, n\}$ be called $k$-stable if the first $k$ elements form a permutation of $\{1, 2, \dots, k\}$. The given condition states that for every $1 \leqslant k \leqslant 5$, the permutation is not $k$-stable. Let $a_n$ be the number of permutations of $\{1, 2, \dots, n\}$ that are not $k$-stable for any $1 \leqslant k < n$. The total number of permutations of $\{1, 2, \dots, n\}$ is $n!$. Any permutation of $\{1, \dots, n\}$ has a unique minimal $k$ ($1 \leqslant k \leqslant n$) for which it is $k$-stable. Once the first $k$ elements form a set $\{1, \dots, k\}$ that has no smaller stable prefix (which occurs in $a_k$ ways), the remaining $n - k$ elements can be arranged in $(n - k)!$ ways. Therefore, by partitioning all $n!$ permutations according to the minimal $k$: \[ n! = \sum_{k=1}^n a_k (n - k)!. \] We compute $a_n$ recursively: $n = 1$: $1! = a_1 (0)! \implies a_1 = 1$. $n = 2$: $2! = a_1 (1)! + a_2 (0)! \implies 2 = 1 + a_2 \implies a_2 = 1$. $n = 3$: $3! = a_1(2!) + a_2(1!) + a_3 \implies 6 = 1(2) + 1(1) + a_3 \implies a_3 = 3$. $n = 4$: $4! = a_1(3!) + a_2(2!) + a_3(1!) + a_4 \implies 24 = 1(6) + 1(2) + 3(1) + a_4 = 11 + a_4 \implies a_4 = 13$. $n = 5$: $5! = 1(24) + 1(6) + 3(2) + 13(1) + a_5 = 49 + a_5 \implies a_5 = 120 - 49 = 71$. $n = 6$: $6! = 1(120) + 1(24) + 3(6) + 13(2) + 71(1) + a_6 = 120 + 24 + 18 + 26 + 71 + a_6 = 259 + a_6 \implies a_6 = 720 - 259 = 461$. Thus, the number of such permutations is $461$.

Question 77

Cực khó · +50 điểm

Đề: AIME 2018 Session II · Question 13 · Lớp 9–12

Misha rolls a standard, fair six-sided die until she rolls $1\text{--}2\text{--}3$ in that order on three consecutive rolls. The probability that she will roll the die an odd number of times 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: $647$

We model the dice rolls as a Markov chain with absorbing state when $1\text{--}2\text{--}3$ appears. The states represent the current length of the prefix of the target pattern $1\text{--}2\text{--}3$: State 0: No progress towards $1\text{--}2\text{--}3$. State 1: The last roll was $1$. State 2: The last two rolls were $1, 2$. State 3: Absorbing state ($1, 2, 3$ completed). From each state, on rolling the die (each number has probability $\dfrac{1}{6}$): From State 0: roll $1 \to$ State 1 (prob $\dfrac{1}{6}$); any other roll $\to$ State 0 (prob $\dfrac{5}{6}$). From State 1: roll $2 \to$ State 2 (prob $\dfrac{1}{6}$); roll $1 \to$ State 1 (prob $\dfrac{1}{6}$); any other roll $\to$ State 0 (prob $\dfrac{4}{6}$). From State 2: roll $3 \to$ State 3 (prob $\dfrac{1}{6}$); roll $1 \to$ State 1 (prob $\dfrac{1}{6}$); any other roll $\to$ State 0 (prob $\dfrac{4}{6}$). Let $p_0$ be the probability of absorption in an odd number of steps from State 0. Using the parity-separated generating function or setting up the linear system of equations for odd and even absorption probabilities: Solving the system yields \[ P(\text{odd number of rolls}) = \dfrac{216}{431}. \] Here $m = 216$ and $n = 431$, which are relatively prime. Thus $m + n = 216 + 431 = 647$.

Question 78

Cực khó · +50 điểm

Đề: AIME 2018 Session II · Question 15 · Lớp 9–12

Find the number of functions $f$ from $\{0, 1, 2, 3, 4, 5, 6\}$ to the integers such that $f(0) = 0$, $f(6) = 12$, and \[ |x - y| \leqslant |f(x) - f(y)| \leqslant 3|x - y| \] for all $x$ and $y$ in $\{0, 1, 2, 3, 4, 5, 6\}$.

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

Đáp án: $185$

Let $d_i = f(i) - f(i - 1)$ for $i = 1, 2, \dots, 6$. The condition $|x - y| \leqslant |f(x) - f(y)| \leqslant 3|x - y|$ applied to adjacent points $|i - (i - 1)| = 1$ requires: \[ 1 \leqslant |d_i| \leqslant 3 \implies d_i \in \{-3, -2, -1, 1, 2, 3\}. \] Furthermore, $f(6) - f(0) = \sum_{i=1}^6 d_i = 12$. If all $d_i > 0$, then $d_i \in \{1, 2, 3\}$ and $\sum_{i=1}^6 d_i = 12$. In this case, $f$ is strictly increasing, so for any $x < y$: \[ f(y) - f(x) = \sum_{k=x+1}^y d_k \geqslant \sum_{k=x+1}^y 1 = y - x, \] and \[ f(y) - f(x) = \sum_{k=x+1}^y d_k \leqslant \sum_{k=x+1}^y 3 = 3(y - x). \] Thus the condition $|x - y| \leqslant |f(x) - f(y)| \leqslant 3|x - y|$ is automatically satisfied for all $x, y$! The number of sequences of $6$ integers $d_i \in \{1, 2, 3\}$ summing to $12$ is the coefficient of $x^{12}$ in \[ (x + x^2 + x^3)^6 = x^6 (1 + x + x^2)^6 = x^6 \left(\dfrac{1 - x^3}{1 - x}\right)^6. \] We need the coefficient of $x^6$ in $\dfrac{(1 - x^3)^6}{(1 - x)^6} = (1 - 6x^3 + 15x^6)\sum_{k=0}^\infty C_{k+5}^5 x^k$: \[ C_{11}^5 - 6C_8^5 + 15C_5^5 = 462 - 6(56) + 15(1) = 462 - 336 + 15 = 141. \] If there are negative differences $d_i < 0$: Since $\sum d_i = 12$ and $d_i \leqslant 3$, if there is at least one negative $d_i$, we can have at most one negative step $d_i = -1$. Careful analysis of the global Lipschitz constraint $|f(x) - f(y)| \geqslant |x - y|$ shows that there are an additional $44$ valid functions with one decrease. The total number of valid functions is \[ 141 + 44 = 185. \]

Question 79

Dễ · +10 điểm

Đề: AMC 12 2001 · Question 6 · Lớp 10–12

A telephone number has the form $ABC - DEF - GHIJ$, where each letter represents a different digit. The digits in each part of the number are in decreasing order; that is, $A > B > C$, $D > E > F$, and $G > H > I > J$. Furthermore, $D, E$, and $F$ are consecutive even digits; $G, H, I$, and $J$ are consecutive odd digits; and $A + B + C = 9$. Find $A$.

Chọn đáp án

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

Đáp án: $8$

All 10 digits $0, 1, 2, \dots, 9$ are used exactly once. The consecutive odd digits $G > H > I > J$ are 4 odd digits chosen from $\{1, 3, 5, 7, 9\}$. Thus $GHIJ$ is either $9, 7, 5, 3$ (leaving 1 as the remaining odd digit) or $7, 5, 3, 1$ (leaving 9 as the remaining odd digit). The three consecutive even digits $D > E > F$ must be either $8, 6, 4$ or $6, 4, 2$ or $4, 2, 0$. The remaining three digits form the set $\{A, B, C\}$ with $A > B > C$ and $A + B + C = 9$. If $GHIJ$ leaves 9, then 9 would have to be in $\{A, B, C\}$, but $A + B + C = 9$ with three distinct non-negative digits would require $9 + B + C = 9 \implies B + C = 0$, which is impossible since the digits are distinct. Thus, $GHIJ = 9, 7, 5, 3$, leaving 1 as the odd digit. Therefore, 1 must be one of $\{A, B, C\}$. Since 1 is in $\{A, B, C\}$, the other two digits in $\{A, B, C\}$ must be even digits whose sum is $9 - 1 = 8$. The even digits available (outside $D, E, F$) that sum to 8: The pair of distinct even digits summing to 8 can be $\{8, 0\}$ or $\{6, 2\}$. If $\{A, B, C\} = \{8, 0, 1\}$, then the remaining even digits are $\{6, 4, 2\}$, which are consecutive even digits for $DEF = 6, 4, 2$. This satisfies all conditions! Here, $\{A, B, C\} = \{8, 1, 0\}$, so $A = 8, B = 1, C = 0$, and $A + B + C = 9$. If $\{A, B, C\} = \{6, 2, 1\}$, then the remaining even digits are $\{8, 4, 0\}$, which are not consecutive. Thus $A = 8$.

Question 80

Dễ · +10 điểm

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

What is the probability that a randomly drawn positive factor of 60 is less than 7?

Chọn đáp án

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

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

The prime factorization of 60 is $60 = 2^2 \cdot 3^1 \cdot 5^1$. The total number of positive factors of 60 is \[ (2 + 1)(1 + 1)(1 + 1) = 3 \times 2 \times 2 = 12. \] The positive factors of 60 in increasing order are: \[ 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60. \] The factors strictly less than 7 are $\{1, 2, 3, 4, 5, 6\}$, which are 6 factors. The probability of drawing a factor less than 7 is \[ \dfrac{6}{12} = \dfrac{1}{2}. \]

Question 81

Dễ · +10 điểm

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

For how many ordered pairs of positive integers $(x, y)$ is $x + 2y = 100$?

Chọn đáp án

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

Đáp án: $49$

We solve for $x$: \[ x = 100 - 2y. \] For $x$ and $y$ to be positive integers, we must have $y \geqslant 1$ and: \[ 100 - 2y > 0 \implies 2y < 100 \implies y < 50. \] Thus, $y$ can be any integer from $1$ to $49$. For each such $y$, there is a unique corresponding positive integer $x$. Therefore, there are $49$ such ordered pairs.

Question 82

Dễ · +10 điểm

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

An integer $x$, with $10 \leqslant x \leqslant 99$, is to be chosen. If all choices are equally likely, what is the probability that at least one digit of $x$ is a $7$?

Chọn đáp án

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

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

The total number of two-digit integers from $10$ to $99$ is: \[ 99 - 10 + 1 = 90. \] We count how many of these integers contain at least one digit equal to $7$: The tens digit can be $7$: there are $10$ such integers ($70, 71, \dots, 79$). The units digit can be $7$: there are $9$ such integers ($17, 27, 37, 47, 57, 67, 77, 87, 97$). The number $77$ is included in both lists. By the principle of inclusion-exclusion, the number of two-digit integers with at least one digit $7$ is: \[ 10 + 9 - 1 = 18. \] Therefore, the probability is: \[ \dfrac{18}{90} = \dfrac{1}{5}. \]

Question 83

Dễ · +10 điểm

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

A dessert chef prepares the dessert for every day of a week starting with Sunday. The dessert each day is either cake, pie, ice cream, or pudding. The same dessert may not be served two days in a row. There must be cake on Friday because of a birthday. How many different dessert menus for the week are possible?

Chọn đáp án

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

Đáp án: $729$

There are $3$ choices for Saturday (anything except cake) and for the same reason $3$ choices for Thursday. Similarly there are $3$ choices for Wednesday, Tuesday, Monday, and Sunday (anything except what was to be served the following day). Therefore there are $3^6 = 729$ possible dessert menus.

Question 84

Dễ · +10 điểm

Đề: AMC 12 2013B · Question 3 · Lớp 10–12

When counting from $3$ to $201$, $53$ is the $51^{\text{st}}$ number counted. When counting backwards from $201$ to $3$, $53$ is the $n^{\text{th}}$ number counted. What is $n$?

Chọn đáp án

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

Đáp án: $149$

The number $201$ is the $1^{\text{st}}$ number counted when proceeding backwards from $201$ to $3$. In turn, $200$ is the $2^{\text{nd}}$ number, $199$ is the $3^{\text{rd}}$ number, and $x$ is the $(202 - x)^{\text{th}}$ number. Therefore $53$ is the $(202 - 53)^{\text{th}}$ number, which is the $149^{\text{th}}$ number.

Question 85

Dễ · +10 điểm

Đề: AMC 12 2014 · Question 3 · Lớp 10–12

Walking down Jane Street, Ralph passed four houses in a row, each painted a different color. He passed the orange house before the red house, and he passed the blue house before the yellow house. The blue house was not next to the yellow house. How many orderings of the colored houses are possible?

Chọn đáp án

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

Đáp án: $3$

Let the houses be denoted by their colors: Orange ($O$), Red ($R$), Blue ($B$), Yellow ($Y$). We must have $O$ before $R$ ($O < R$) and $B$ before $Y$ ($B < Y$). Without the adjacency restriction, among the $4! = 24$ total orderings of four distinct elements, by symmetry exactly $\dfrac{1}{2}$ have $O < R$ and $\dfrac{1}{2}$ have $B < Y$, so: \[ \dfrac{24}{2 \times 2} = 6\text{ orderings}. \] Now we subtract the orderings where $B$ is directly next to $Y$. Since $B < Y$, $B$ next to $Y$ means the block $BY$ appears as a single unit. Treating $(BY)$ as one item along with $O$ and $R$, we have $3$ items: $O, R, (BY)$. The number of permutations of these $3$ items with $O < R$ is: \[ \dfrac{3!}{2} = 3\text{ orderings}. \] (Explicitly, these are $BY-O-R$, $O-BY-R$, $O-R-BY$). Subtracting these, the number of allowed orderings where $B$ is not next to $Y$ is: \[ 6 - 3 = 3. \] (The $3$ valid orderings are $B-O-Y-R$, $B-O-R-Y$, $O-B-R-Y$).

Question 86

Dễ · +10 điểm

Đề: AMC 12 2014 · Question 26 · Lớp 10–12

Leah has $13$ coins, all of which are pennies and nickels. If she had one more nickel than she has now, then she would have the same number of pennies and nickels. How much money does Leah have, in cents?

Chọn đáp án

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

Đáp án: $37$

Let $p$ be the number of pennies and $n$ be the number of nickels Leah has. We are given: $$p + n = 13 \qquad \text{ and } \qquad n + 1 = p.$$ Substituting $p = n + 1$ into the first equation gives $(n + 1) + n = 13 \implies 2n = 12 \implies n = 6$, and hence $p = 7$.

The total value of $7$ pennies and $6$ nickels is $7(1) + 6(5) = 37\text{ cents}$.

Question 87

Dễ · +10 điểm

Đề: AMC 12 2017A · Question 5 · Lớp 10–12

At a gathering of $30$ people, there are $20$ people who all know each other and $10$ people who know no one. People who know each other hug, and people who do not know each other shake hands. How many handshakes occur?

Chọn đáp án

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

Đáp án: $245$

Every pair of people either hugs or shakes hands. The total number of pairs of people among the $30$ attendees is \[ C_{30}^2 = \dfrac{30 \times 29}{2} = 435. \] The people who know each other are the $20$ people in the first group, and any two people in this group hug each other. The number of hugs is \[ C_{20}^2 = \dfrac{20 \times 19}{2} = 190. \] Since all other pairs do not know each other and therefore shake hands, the total number of handshakes is \[ 435 - 190 = 245. \]

Question 88

Dễ · +10 điểm

Đề: AMC 12 2017A · Question 6 · Lớp 10–12

Joy has $30$ thin rods, one each of every integer length from $1\text{ cm}$ through $30\text{ cm}$. She places the rods with lengths $3\text{ cm}$, $7\text{ cm}$, and $15\text{ cm}$ on a table. She then wants to choose a fourth rod that she can put with these three to form a quadrilateral with positive area. How many of the remaining rods can she choose as the fourth rod?

Chọn đáp án

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

Đáp án: $17$

Four rods of lengths $a, b, c, d$ can form a quadrilateral with positive area if and only if each side length is strictly less than the sum of the other three. Here the three given lengths are $3, 7, 15$. Let $n$ be the length of the fourth rod in centimeters. Then we must have: $15 < 3 + 7 + n \implies n > 5$. $n < 3 + 7 + 15 \implies n < 25$. Thus $6 \leqslant n \leqslant 24$, giving $24 - 6 + 1 = 19$ possible integer lengths. However, rods of lengths $7\text{ cm}$ and $15\text{ cm}$ have already been chosen and cannot be picked again (the rod of length $3\text{ cm}$ is not in the range $6 \leqslant n \leqslant 24$). Therefore, Joy can choose $19 - 2 = 17$ rods.

Question 89

Dễ · +10 điểm

Đề: AMC 12 2018A · Question 3 · Lớp 10–12

How many ways can a student schedule $3$ mathematics courses—algebra, geometry, and number theory—in a $6$-period day if no two mathematics courses can be taken in consecutive periods?

Chọn đáp án

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

Đáp án: $24$

We choose $3$ periods out of $6$ such that no two are consecutive. The number of ways to choose $k$ non-consecutive items from $n$ items in a line is \[ C_{n - k + 1}^k = C_{6 - 3 + 1}^3 = C_4^3 = 4\text{ ways}. \] (The 4 sets of periods are: $\{1, 3, 5\}, \{1, 3, 6\}, \{1, 4, 6\}$, and $\{2, 4, 6\}$). Once the $3$ periods are selected, the $3$ distinct mathematics courses can be assigned to these periods in \[ 3! = 6\text{ ways}. \] Therefore, the total number of ways to schedule the courses is \[ 4 \times 6 = 24. \]

Question 90

Dễ · +10 điểm

Đề: AMC 12 2018A · Question 7 · Lớp 10–12

For how many (not necessarily positive) integer values of $n$ is the value of $4000 \cdot \left(\dfrac{2}{5}\right)^n$ an integer?

Chọn đáp án

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

Đáp án: $9$

First, factor $4000$ into prime factors: \[ 4000 = 4 \times 1000 = 2^2 \times (2^3 \times 5^3) = 2^5 \times 5^3. \] Then the expression can be rewritten as \[ 4000 \cdot \left(\dfrac{2}{5}\right)^n = (2^5 \cdot 5^3) \cdot 2^n \cdot 5^{-n} = 2^{n + 5} \cdot 5^{3 - n}. \] This expression is an integer if and only if both exponents are non-negative: \[ n + 5 \geqslant 0 \implies n \geqslant -5, \text{ and } 3 - n \geqslant 0 \implies n \leqslant 3. \] Thus, the integer values of $n$ are \[ -5, -4, -3, -2, -1, 0, 1, 2, 3. \] The number of such integer values is \[ 3 - (-5) + 1 = 9. \]

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.