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ó 819 bài tập Combinatorics · Tổ hợp · khối Lớp 10 · Trang 21/55 (Question 301–315)

Điểm: 0/15

Question 301

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #06 (30 câu) · Question 23 · Lớp 9–10

Bag #3-1 has balls of $4$ different colors (at least $15$ of each color). What is the smallest number of balls you must pick without looking to be sure of having $4$ balls of the same color?

Chọn đáp án

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

Đáp án: $13$

  • Điểm cần lưu ý: Xét trường hợp xấu nhất: mỗi màu chỉ có k-1 quả, rồi cộng thêm 1.
  • Cách suy luận: Số bóng ít nhất là $4 \times (4-1) + 1 = 13$.

Question 302

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #06 (30 câu) · Question 27 · Lớp 9–10

On grid #3-1, moving only RIGHT or UP along grid lines, how many shortest paths go from $(0, 0)$ to $(4, 5)$?

Chọn đáp án

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

Đáp án: $126$

  • Điểm cần lưu ý: Mỗi đường đi gồm m bước sang phải và n bước lên trên.
  • Cách suy luận: Số đường đi là $\binom{9}{4} = 126$.

Question 303

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #07 (30 câu) · Question 14 · Lớp 9–10

Grid #3-2 is a $7\times 7$ square grid colored like a chessboard, starting with green at the top-left corner. How many green squares are there?

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

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

Đáp án: $25$

  • Điểm cần lưu ý: Với bảng n×n, số ô xanh bằng $\lceil n^2 / 2 \rceil$.
  • Cách suy luận: Bảng $7\times 7$ có $49$ ô; số ô xanh là $25$.

Question 304

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #07 (30 câu) · Question 23 · Lớp 9–10

Bag #3-2 has balls of $5$ different colors (at least $15$ of each color). What is the smallest number of balls you must pick without looking to be sure of having $3$ balls of the same color?

Chọn đáp án

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

Đáp án: $11$

  • Điểm cần lưu ý: Xét trường hợp xấu nhất: mỗi màu chỉ có k-1 quả, rồi cộng thêm 1.
  • Cách suy luận: Số bóng ít nhất là $5 \times (3-1) + 1 = 11$.

Question 305

Trung bình · +20 điểm

Đề: IKMC Practice · Phong cách Junior (Lớp 9–10) · Đề #07 (30 câu) · Question 27 · Lớp 9–10

On grid #3-2, moving only RIGHT or UP along grid lines, how many shortest paths go from $(0, 0)$ to $(3, 3)$?

Chọn đáp án

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

Đáp án: $20$

  • Điểm cần lưu ý: Mỗi đường đi gồm m bước sang phải và n bước lên trên.
  • Cách suy luận: Số đường đi là $\binom{6}{3} = 20$.

In a survey of $100$ learners, $62$ play soccer ($A$), $48$ play basketball ($B$), and $15$ play neither sport. How many learners play both soccer and basketball, $n(A \cap B)$?

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

Đáp án: $25$

Answer / Đáp án: 25

$n(A \cup B) = 100 - 15 = 85$. By the Inclusion–Exclusion identity: $$n(A \cap B) = n(A) + n(B) - n(A \cup B) = 62 + 48 - 85 = 25.$$

Nguồn học liệu gốc: Everything Maths Grade 10 · Siyavula & FHSST Contributors (CC BY 3.0).

Question 307

Khó · +30 điểm

Đề: AIME 2013 Session I · Question 6 · Lớp 9–12

Melinda has three empty boxes and $12$ textbooks, three of which are mathematics textbooks. One box will hold any three of her textbooks, one will hold any four of her textbooks, and one will hold any five of her textbooks. If Melinda packs her textbooks into these boxes in random order, the probability that all three mathematics textbooks end up in the same box can be written as $\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: $47$

The probability that all three mathematics textbooks end up in the first box is the probability that the three mathematics textbooks are selected out of the $C_{12}^3$ equally likely ways to select three textbooks. That is $\dfrac{1}{C_{12}^3} = \dfrac{1}{220}$. The probability that all three mathematics textbooks end up in the second box is the probability that three mathematics textbooks and one other of the nine remaining textbooks are selected for the second box out of the $C_{12}^4$ equally likely ways to select four textbooks. That is $\dfrac{9}{C_{12}^4} = \dfrac{1}{55}$. Finally, the probability that all three mathematics textbooks end up in the last box is $\dfrac{C_9^2}{C_{12}^5} = \dfrac{1}{22}$. The probability that all three mathematics textbooks end up in the same box is \[ \dfrac{1}{220} + \dfrac{1}{55} + \dfrac{1}{22} = \dfrac{1 + 4 + 10}{220} = \dfrac{15}{220} = \dfrac{3}{44}. \] The requested sum is $3 + 44 = 47$.

Question 308

Khó · +30 điểm

Đề: AIME 2013 Session I · Question 10 · Lớp 9–12

There are nonzero integers $a$, $b$, $r$, and $s$ such that the complex number $r + si$ is a zero of the polynomial $P(x) = x^3 - ax^2 + bx - 65$. For each possible combination of $a$ and $b$, let $p_{a,b}$ be the sum of the zeros of $P(x)$. Find the sum of the $p_{a,b}$'s for all possible combinations of $a$ and $b$.

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

Đáp án: $80$

Because $P(x)$ has real coefficients, the number $r - si$ must also be a zero of $P(x)$, and the third zero must be a real number $q$. The sum of the zeros is $a = q + 2r$, so $q$ is an integer. The product of the zeros is $65 = q(r^2 + s^2)$, so $r^2 + s^2$ is a factor of $65$, and therefore must be $1$, $5$, $13$, or $65$. Note that $5 = 1^2 + 2^2$, $13 = 2^2 + 3^2$, and $65 = 1^2 + 8^2 = 4^2 + 7^2$. Therefore $\{|r|, |s|\}$ is one of the sets $\{1, 2\}$, $\{2, 3\}$, $\{1, 8\}$, $\{4, 7\}$, and each set corresponds to $4$ distinct polynomials $P(x)$. For the set $\{1, 2\}$, $q = \dfrac{65}{5} = 13$, for $\{2, 3\}$, $q = \dfrac{65}{13} = 5$, and for the last two sets $q = \dfrac{65}{65} = 1$. The requested sum is then \[ \sum_{a,b} p_{a,b} = 4\cdot 13 + 4\cdot 5 + 8\cdot 1 = 80. \]

Question 309

Khó · +30 điểm

Đề: AIME 2014 Session II · Question 6 · Lớp 9–12

Charles has two six-sided dice. One of the dice is fair, and the other die is biased so that it comes up six with probability $\dfrac{2}{3}$, and each of the other five sides has probability $\dfrac{1}{15}$. Charles chooses one of the two dice at random and rolls it three times. Given that the first two rolls are both sixes, the probability that the third roll will also be a six is $\dfrac{p}{q}$, where $p$ and $q$ are relatively prime positive integers. Find $p + q$.

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

Đáp án: $167$

The conditional probability that the third roll will be a six given that the first two rolls are sixes is the conditional probability that Charles rolls three sixes given that his first two rolls are sixes. This is \[ \dfrac{\dfrac{1}{2}\left(\dfrac{2}{3}\right)^3 + \dfrac{1}{2}\left(\dfrac{1}{6}\right)^3}{\dfrac{1}{2}\left(\dfrac{2}{3}\right)^2 + \dfrac{1}{2}\left(\dfrac{1}{6}\right)^2} = \dfrac{\dfrac{65}{432}}{\dfrac{17}{72}} = \dfrac{65}{102}. \] The requested sum is $65 + 102 = 167$.

Question 310

Khó · +30 điểm

Đề: AIME 2015 Session II · Question 10 · Lớp 9–12

Call a permutation $a_1, a_2, \ldots, a_n$ of the integers $1, 2, \ldots, n$ quasi-increasing if $a_k \leqslant a_{k+1} + 2$ for each $1 \leqslant k \leqslant n - 1$. For example, $53421$ and $14253$ are quasi-increasing permutations of the integers $1, 2, 3, 4, 5$, but $45123$ is not. Find the number of quasi-increasing permutations of the integers $1, 2, \ldots, 7$.

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

Đáp án: $486$

Let $S_n$ be the number of quasi-increasing permutations of $1, 2, \ldots, n$. It is easy to check that $S_1 = 1$, $S_2 = 2$, and $S_3 = 6$. For $n \geqslant 3$, $S_n = 3S_{n-1}$ is proved as follows. First note that if $a_1, a_2, \ldots, a_{n-1}$ is a quasi-increasing permutation of $1, 2, \ldots, n - 1$, then one can construct a quasi-increasing permutation of $1, 2, \ldots, n$ by placing the $n$ immediately in front of $n - 1$, immediately in front of $n - 2$, or after $a_{n-1}$. If $n$ is placed in any other position, then it will be followed by an integer $k$ with $1 \leqslant k \leqslant n - 3$ so $n \leqslant k + 2$ will not be true. Thus every quasi-increasing permutation of $1, 2, \ldots, n - 1$ leads to $3$ quasi-increasing permutations of $1, 2, \ldots, n$. Conversely, suppose that we have a quasi-increasing permutation $a_1, a_2, \ldots, a_n$ of $1, 2, \ldots, n$. If $a_n = n$ or $a_1 = n$, then removing $a_n$ results in a quasi-increasing permutation of $1, 2, \ldots, n - 1$. If $n = a_k$, $k \ne 1, n$, then $a_{k+1} = n - 1$ or $a_{k+1} = n - 2$. In either case \[ a_{k-1} < n \leqslant a_{k+1} + 2, \] so removing $n$ again results in a quasi-increasing permutation of $1, 2, \ldots, n - 1$. Furthermore, as the previous paragraph showed, for each quasi-increasing permutation $\pi$ of $1, 2, \ldots, n - 1$, there are exactly $3$ quasi-increasing permutations of $1, 2, \ldots, n$ that result in $\pi$ when $n$ is removed. This completes the proof that $S_n = 3S_{n-1}$ for $n \geqslant 3$. Hence $S_n = 3^{n-2} S_2 = 2 \cdot 3^{n-2}$ for $n \geqslant 3$. In particular, $S_7 = 2 \cdot 3^5 = 486$.

Question 311

Khó · +30 điểm

Đề: AIME 2016 Session I · Question 8 · Lớp 9–12

For a permutation $p = (a_1, a_2, \dots, a_9)$ of the digits $1, 2, \dots, 9$, let $s(p)$ denote the sum of the three 3-digit numbers $a_1 a_2 a_3$, $a_4 a_5 a_6$, and $a_7 a_8 a_9$. Let $m$ be the minimum value of $s(p)$ subject to the condition that the units digit of $s(p)$ is $0$. Let $n$ denote the number of permutations $p$ with $s(p) = m$. Find $|m - n|$.

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

Đáp án: $162$

For any permutation $p$, \[ s(p) = 100(a_1 + a_4 + a_7) + 10(a_2 + a_5 + a_8) + (a_3 + a_6 + a_9). \] Because the units digit of $m$ is $0$, it follows that $a_3 + a_6 + a_9 = 10$ or $20$. If $a_3 + a_6 + a_9 = 10$, then $a_1 + a_4 + a_7 + a_2 + a_5 + a_8 = 45 - 10 = 35$, and \[ s(p) = 90(a_1 + a_4 + a_7) + 360 \geqslant 90(1 + 2 + 3) + 360 = 900. \] If $a_3 + a_6 + a_9 = 20$, then $s(p) = 90(a_1 + a_4 + a_7) + 270 \geqslant 90 \cdot 6 + 270 = 810$, with equality if and only if $\{a_1, a_4, a_7\} = \{1, 2, 3\}$. The set $\{a_3, a_6, a_9\}$ must equal $\{4, 7, 9\}$, $\{5, 6, 9\}$, or $\{5, 7, 8\}$. For each $\{a_i, a_{i+3}, a_{i+6}\}$, there are $3!$ ways to permute these numbers. Hence there are $n = 3 \cdot 3! \cdot 3! \cdot 3! = 648$ permutations $p$ with $s(p) = m = 810$ and $|m - n| = |810 - 648| = 162$.

Question 312

Khó · +30 điểm

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

A special deck of cards contains $49$ cards, each labeled with a number from $1$ to $7$ and colored with one of seven colors. Each number-color combination appears on exactly one card. Sharon will select a set of eight cards from the deck at random. Given that she gets at least one card of each color and at least one card with each number, the probability that Sharon can discard one of her cards and still have at least one card of each color and at least one card with each number is $\dfrac{p}{q}$, where $p$ and $q$ are relatively prime positive integers. Find $p + q$.

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

Đáp án: $13$

In a set of eight cards that includes every color and every number, there will be exactly one repeated number and exactly one repeated color. If Sharon selects a set that includes the card with that number and color, Sharon can discard it. If the set does not include that card, Sharon cannot discard any card. In the former case, there are $7!$ ways to choose one card of each number and color, and then $42$ ways to choose the “extra” card. The total is $7! \cdot 42$. In the latter case, there are $7$ ways to choose which number is repeated, and $C_7^2 = 21$ ways to choose which two cards of that number are used. There are then $5$ ways to choose which color is repeated, and $C_6^2 = 15$ ways to choose which cards of that color are used. There now remain four unused colors and four unused numbers, and there are $4! = 24$ ways to choose from those. The total is $7 \cdot 21 \cdot 5 \cdot 15 \cdot 24$. The probability that a given set is of the first type is therefore \[ \dfrac{7! \cdot 42}{7! \cdot 42 + 7 \cdot 21 \cdot 5 \cdot 15 \cdot 24} = \dfrac{4}{9}. \] The requested sum is $4 + 9 = 13$.

Question 313

Khó · +30 điểm

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

A real number $a$ is chosen randomly and uniformly from the interval $[-20, 18]$. The probability that the roots of the polynomial \[ x^4 + 2ax^3 + (2a - 2)x^2 + (-4a + 3)x - 2 \] are all real can be written in the form $\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: $037$

Let $P(x) = x^4 + 2ax^3 + (2a - 2)x^2 + (-4a + 3)x - 2$. Grouping the terms containing $a$: \[ P(x) = (x^4 - 2x^2 + 3x - 2) + 2a(x^3 + x^2 - 2x). \] Factoring both parts: $x^3 + x^2 - 2x = x(x^2 + x - 2) = x(x - 1)(x + 2)$. For $x^4 - 2x^2 + 3x - 2$, testing $x = 1$: $1 - 2 + 3 - 2 = 0$. Testing $x = -2$: $16 - 8 - 6 - 2 = 0$. Thus $(x - 1)(x + 2) = x^2 + x - 2$ divides $x^4 - 2x^2 + 3x - 2$: \[ x^4 - 2x^2 + 3x - 2 = (x^2 + x - 2)(x^2 - x + 1). \] Therefore, factoring out $(x - 1)(x + 2)$: \[ P(x) = (x - 1)(x + 2) [x^2 - x + 1 + 2ax] = (x - 1)(x + 2) [x^2 + (2a - 1)x + 1]. \] Two roots are already real: $x = 1$ and $x = -2$. For all four roots of $P(x)$ to be real, the quadratic $Q(x) = x^2 + (2a - 1)x + 1$ must have real roots. The discriminant of $Q(x)$ must be non-negative: \[ \Delta = (2a - 1)^2 - 4 \geqslant 0 \iff (2a - 1)^2 \geqslant 4 \iff |2a - 1| \geqslant 2. \] This gives: \[ 2a - 1 \geqslant 2 \implies a \geqslant \dfrac{3}{2}, \text{ or } 2a - 1 \leqslant -2 \implies a \leqslant -\dfrac{1}{2}. \] The roots are real when $a \in \left[-20, -\dfrac{1}{2}\right] \cup \left[\dfrac{3}{2}, 18\right]$. The total length of the interval $[-20, 18]$ is $18 - (-20) = 38$. The length of the favorable set of values of $a$ is \[ \left(-\dfrac{1}{2} - (-20)\right) + \left(18 - \dfrac{3}{2}\right) = \dfrac{39}{2} + \dfrac{33}{2} = \dfrac{72}{2} = 36. \] Therefore, the probability is \[ \dfrac{36}{38} = \dfrac{18}{19}. \] Here $m = 18$ and $n = 19$, which are relatively prime. Thus $m + n = 18 + 19 = 37$.

Question 314

Khó · +30 điểm

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

Find the number of functions $f(x)$ from $\{1, 2, 3, 4, 5\}$ to $\{1, 2, 3, 4, 5\}$ that satisfy $f(f(x)) = f(f(f(x)))$ for all $x$ in $\{1, 2, 3, 4, 5\}$.

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

Đáp án: $756$

Let $S = \{1, 2, 3, 4, 5\}$. The condition $f(f(x)) = f(f(f(x)))$ for all $x \in S$ means that every element in the image of $f \circ f$ is a fixed point of $f$. That is, if $y \in Im(f \circ f)$, then $f(y) = y$. This implies that each component of the functional directed graph of $f$ consists of trees rooted at fixed points, where every path from any element reaches a fixed point in at most $2$ steps. Let $i$ be the number of fixed points of $f$ ($1 \leqslant i \leqslant 5$). Let $j$ be the number of elements that are not fixed points but map directly to a fixed point ($0 \leqslant j \leqslant 5 - i$). The remaining $5 - i - j$ elements must map to one of the $j$ elements. There are $C_5^i$ ways to choose the $i$ fixed points. There are $C_{5-i}^j$ ways to choose the $j$ secondary elements. Each of the $j$ elements has $i$ choices of fixed points: $i^j$ ways. Each of the $5 - i - j$ elements has $j$ choices of secondary elements: $j^{5-i-j}$ ways (with $0^0 = 1$ when $5 - i - j = 0$). Summing over all valid pairs $(i, j)$: $i = 1$: $j = 0 \implies 0$ ways; $j = 1 \implies C_5^1 C_4^1 (1)^1 (1)^3 = 20$; $j = 2 \implies C_5^1 C_4^2 (1)^2 (2)^2 = 120$; $j = 3 \implies C_5^1 C_4^3 (1)^3 (3)^1 = 60$; $j = 4 \implies C_5^1 C_4^4 (1)^4 (4)^0 = 5$. Subtotal for $i = 1$: $205$. $i = 2$: $j = 0 \implies C_5^2 C_3^0 (2)^0 (0)^3 = 0$; $j = 1 \implies C_5^2 C_3^1 (2)^1 (1)^2 = 60$; $j = 2 \implies C_5^2 C_3^2 (2)^2 (2)^1 = 240$; $j = 3 \implies C_5^2 C_3^3 (2)^3 (3)^0 = 80$. Subtotal for $i = 2$: $380$. $i = 3$: $j = 0 \implies 0$; $j = 1 \implies C_5^3 C_2^1 (3)^1 (1)^1 = 60$; $j = 2 \implies C_5^3 C_2^2 (3)^2 (2)^0 = 90$. Subtotal for $i = 3$: $150$. $i = 4$: $j = 0 \implies 0$; $j = 1 \implies C_5^4 C_1^1 (4)^1 (1)^0 = 20$. Subtotal for $i = 4$: $20$. $i = 5$: $j = 0 \implies C_5^5 = 1$. Subtotal for $i = 5$: $1$. Total number of such functions is \[ 205 + 380 + 150 + 20 + 1 = 756. \]

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.