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 · Đang hiển thị 15 câu ngẫu nhiên

Điểm: 0/15

Question 1

Trung bình · +20 điểm

Đề: AMC 10 2013A · Question 13 · Lớp 8–10

How many three-digit numbers are not divisible by $5$, have digits that sum to less than $20$, and have the first digit equal to the third digit?

Chọn đáp án

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

Đáp án: $60$

A three-digit number whose first and third digits agree has the form $\overline{aba}$, where $1 \leqslant a \leqslant 9$ and $0 \leqslant b \leqslant 9$. For $\overline{aba}$ not to be divisible by $5$, we must have $a \ne 5$. The digit-sum condition is $2a + b < 20$, i.e., $b \leqslant 19 - 2a$.

  • For $a \in \{1, 2, 3, 4\}$, $19 - 2a \geqslant 11$, so all $10$ digits $b \in \{0, 1, \dots, 9\}$ are valid, giving $4 \cdot 10 = 40$ numbers.
  • For $a = 6$, $b \leqslant 7$ ($8$ choices); for $a = 7$, $b \leqslant 5$ ($6$ choices); for $a = 8$, $b \leqslant 3$ ($4$ choices); for $a = 9$, $b \leqslant 1$ ($2$ choices).

In total there are $40 + 8 + 6 + 4 + 2 = 60$ such numbers.

Question 2

Dễ · +10 điểm

Đề: AMC 10 2016B · Question 5 · Lớp 8–10

The mean age of Amanda's $4$ cousins is $8$, and their median age is $5$. What is the sum of the ages of Amanda's youngest and oldest cousins?

Chọn đáp án

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

Đáp án: $22$

Let the ages of the four cousins in nondecreasing order be $a \leqslant b \leqslant c \leqslant d$. Because the mean age is $8$, the sum of all four ages is \[ a + b + c + d = 4 \times 8 = 32. \] Because the median age is $5$, the average of the two middle ages is \[ \dfrac{b + c}{2} = 5 \implies b + c = 10. \] The sum of the ages of the youngest ($a$) and oldest ($d$) cousins is \[ a + d = (a + b + c + d) - (b + c) = 32 - 10 = 22. \]

Trên bàn đặt ngửa $9$ tấm thẻ ghi các số từ $1$ đến $9$. Hai bạn Khoa và Linh luân phiên nhau mỗi lượt lấy về $1$ tấm thẻ (thẻ đã lấy không trả lại bàn), Khoa đi trước. Ai sở hữu được trong tay một bộ đúng $3$ tấm thẻ có tổng bằng $15$ trước thì thắng cuộc ngay lập tức; nếu hết $9$ thẻ mà chưa ai có bộ $3$ thẻ tổng bằng $15$ thì ván đấu hòa. Nếu cả hai bạn đều chơi tối ưu không mắc sai lầm, kết quả ván đấu sẽ là gì?

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

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

Đáp án: Ván đấu chắc chắn kết thúc HÒA.

Lối mòn dễ mắc: Liệt kê mọi tổ hợp $3$ số trong $\{1..9\}$ có tổng bằng $15$ rồi vẽ cây trò chơi bằng chữ số rất dễ hoa mắt.

Đổi câu hỏi (Chìa khóa): Hãy xếp $9$ số từ $1$ đến $9$ vào Ma phương Lạc Thư $3 \times 3$! Có đúng $8$ bộ ba số phân biệt từ $1..9$ có tổng bằng $15$, và cả $8$ bộ đó khớp khít với $3$ hàng ngang, $3$ cột dọc và $2$ đường chéo của ma phương!

Lời giải gọn đẹp:

  • Nhờ sự tương ứng $1-1$ này, việc bốc thẻ tìm $3$ số tổng bằng $15$ chính là trò chơi cờ Caro (Tic-Tac-Toe) trên bảng $3 \times 3$ (trong đó số $5$ là ô trung tâm tham gia $4$ đường thẳng, các số chẵn $2{,}4{,}6{,}8$ là $4$ góc!).
  • Trên bàn Caro $3 \times 3$, khi cả hai người đều chơi tối ưu không mắc lỗi, ván cờ luôn kết thúc HÒA.
Hình minh họa câu 3

Một gia đình có đúng $2$ người con. Biết rằng ít nhất một trong hai người con là con gái. Giả sử xác suất sinh trai và gái là như nhau ($50\%$), tính xác suất để cả hai người con đều là con gái.

Chọn đáp án

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

Đáp án: $1/3$

Không gian mẫu $2$ con đồng khả năng ban đầu là {Gái-Gái, Gái-Trai, Trai-Gái, Trai-Trai}. Biết có ít nhất $1$ con gái nên loại Trai-Trai, còn $3$ khả năng đồng xác suất. Chỉ có $1$ trường hợp Gái-Gái, nên xác suất là $\dfrac{1}{3}$.

Question 7

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

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

For a positive integer $p$, define the positive integer $n$ to be $p$-safe if $n$ differs in absolute value by more than $2$ from all multiples of $p$. For example, the set of $10$-safe numbers is $\{3, 4, 5, 6, 7, 13, 14, 15, 16, 17, 23, \dots\}$. Find the number of positive integers less than or equal to $10{,}000$ which are simultaneously $7$-safe, $11$-safe, and $13$-safe.

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

Đáp án: $958$

Because $lcm(7, 11, 13) = 1001$, the Chinese Remainder Theorem implies that there is a one-to-one correspondence between the integers from $0$ to $1000$ and the ordered triples $\{(a,b,c) : 0 \leqslant a \leqslant 6, 0 \leqslant b \leqslant 10, 0 \leqslant c \leqslant 12\}$, where the number $n$ corresponds to the triple $(a,b,c)$ if the remainders when $n$ is divided by $7$, $11$, and $13$ are $a$, $b$, and $c$, respectively. The number $n$ is $7$-safe if $3 \leqslant a \leqslant 4$, $11$-safe if $3 \leqslant b \leqslant 8$, and $13$-safe if $3 \leqslant c \leqslant 10$. Thus there are $(4-2) \cdot (8-2) \cdot (10-2) = 96$ positive integers less than $1001$ that are $7$-safe, $11$-safe, and $13$-safe. The same can be said for the integers in the range from $1001$ to $2001$, those from $2002$ to $3002$, those from $3003$ to $4003$, and so forth. It follows that there are $10 \cdot 96 = 960$ numbers between $0$ and $10{,}009$ that are simultaneously $7$-safe, $11$-safe, and $13$-safe. The numbers $10{,}006$ and $10{,}007$ are the only integers between $10{,}000$ and $10{,}009$ that are $7$-safe, $11$-safe, and $13$-safe, so the required number is $960 - 2 = 958$.

Question 8

Khó · +30 điểm

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

Each vertex of a cube is to be labeled with an integer from $1$ through $8$, with each integer being used once, in such a way that the sum of the four numbers on the vertices of a face is the same for each face. Arrangements that can be obtained from each other through rotations of the cube are considered to be the same. How many different arrangements are possible?

Chọn đáp án

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

Đáp án: $6$

The sum of the numbers $1$ through $8$ is \[ 1 + 2 + \dots + 8 = \dfrac{8 \times 9}{2} = 36. \] Because each vertex belongs to $3$ faces, the sum of the $6$ face sums is \[ 3 \times 36 = 108. \] Since all $6$ faces have the same sum, each face sum must be \[ \dfrac{108}{6} = 18. \] For each pair of opposite faces, the sum of their vertex values is $36$. It follows that diagonally opposite pairs of vertices on the cube must sum to $9$: $\{1, 8\}, \{2, 7\}, \{3, 6\}, \{4, 5\}$. We can fix the rotation of the cube by placing $1$ at the bottom-left-front vertex, which forces $8$ to be at the bottom-right-front (or adjacent vertex). The numbers $4, 6, 7$ must label the remaining vertices of that face, which can be done in $3! = 6$ ways. Each such choice uniquely determines the positions of their partners $5, 3, 2$ on the opposite face. Therefore, there are exactly $6$ possible rotational arrangements.

A school science camp organizes $3$ workshops. Exactly $75\%$ of the campers attend each workshop. What is the minimum possible percentage of campers who attended all $3$ workshops?

Chọn đáp án

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

Đáp án: $25\%$

  • Điểm cần lưu ý: Đổi câu hỏi sang đếm phần bù (tỉ lệ vắng mặt): $100\% - p\%$!
  • Cách suy luận: Mỗi câu lạc bộ có $25\%$ không tham gia $\Rightarrow$ cả $3$ câu lạc bộ có tối đa $3 \times 25\% = 75\%$ vắng ít nhất $1$ nơi $\Rightarrow$ ít nhất $100\% - 75\% = 25\%$ tham gia cả $3$.

Question 11

Khó · +30 điểm

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

How many nonnegative integers can be written in the form \[ a_7 \cdot 3^7 + a_6 \cdot 3^6 + a_5 \cdot 3^5 + a_4 \cdot 3^4 + a_3 \cdot 3^3 + a_2 \cdot 3^2 + a_1 \cdot 3^1 + a_0 \cdot 3^0, \] where $a_i \in \{-1, 0, 1\}$ for $0 \leqslant i \leqslant 7$?

Chọn đáp án

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

Đáp án: $3281$

Each coefficient $a_i$ has $3$ choices: $-1, 0, 1$. Thus there are $3^8 = 6561$ possible sequences of coefficients $(a_7, a_6, \dots, a_0)$. By the uniqueness of balanced ternary representation, every integer has a unique representation of this form. Therefore, all $6561$ sequences represent distinct integers. Notice that the negation of any number $\sum a_i 3^i$ is $\sum (-a_i) 3^i$, which also has coefficients in $\{-1, 0, 1\}$. The only number that is its own negation is $0$, which corresponds to $a_i = 0$ for all $i$. The remaining $6561 - 1 = 6560$ numbers are paired into positive and negative pairs. Thus exactly half of them are strictly positive: \[ \dfrac{6560}{2} = 3280. \] Including $0$, the number of nonnegative integers is \[ 3280 + 1 = 3281. \]

Question 12

Trung bình · +20 điểm

Đề: AMC 10 2015B · Question 16 · Lớp 8–10

Al, Bill, and Cal will each randomly be assigned a whole number from $1$ to $10$, inclusive, with no two of them getting the same number. What is the probability that Al's number will be a whole number multiple of Bill's and Bill's number will be a whole number multiple of Cal's?

Chọn đáp án

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

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

Let $a, b, c \in \{1, 2, \dots, 10\}$ be distinct numbers assigned to Al, Bill, and Cal respectively. The total number of ways to assign $3$ distinct numbers from $10$ is: \[ 10 \times 9 \times 8 = 720. \] We require $b$ to be a multiple of $c$ (with $b > c$) and $a$ to be a multiple of $b$ (with $a > b$). We enumerate valid triples $(a, b, c)$:

  • If $c = 1$:
  • $b = 2 \implies a \in \{4, 6, 8, 10\}$ ($4$ triples),
  • $b = 3 \implies a \in \{6, 9\}$ ($2$ triples),
  • $b = 4 \implies a \in \{8\}$ ($1$ triple),
  • $b = 5 \implies a \in \{10\}$ ($1$ triple).
  • If $c = 2$:
  • $b = 4 \implies a \in \{8\}$ ($1$ triple).
  • If $c \geqslant 3$, the smallest choice for $b$ is $2c \geqslant 6$, which requires $a \geqslant 2b \geqslant 12 > 10$, so no further triples exist.

The total number of favorable triples is $4 + 2 + 1 + 1 + 1 = 9$. The probability is: \[ \dfrac{9}{720} = \dfrac{1}{80}. \]

Question 13

Khó · +30 điểm

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

Pat is to select six cookies from a tray containing only chocolate chip, oatmeal, and peanut butter cookies. There are at least six of each of these three kinds of cookies on the tray. How many different assortments of six cookies can be selected?

Chọn đáp án

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

Đáp án: $28$

The numbers of the three types of cookies must have a sum of six. Possible sets of whole numbers whose sum is six are \[ 0{,}0{,}6; 0{,}1{,}5; 0{,}2{,}4; 0{,}3{,}3; 1{,}1{,}4; 1{,}2{,}3; \text{ and } 2{,}2{,}2. \] Every ordering of each of these sets determines a different assortment of cookies. There are $3$ orders for each of the sets $0{,}0{,}6$; $0{,}3{,}3$; and $1{,}1{,}4$. There are $6$ orders for each of the sets $0{,}1{,}5$; $0{,}2{,}4$; and $1{,}2{,}3$. There is only one order for $2{,}2{,}2$. Therefore the total number of assortments of six cookies is \[ 3 \cdot 3 + 3 \cdot 6 + 1 = 28. \]

Another approach: Construct eight slots, six to place the cookies in and two to divide the cookies by type. Let the number of chocolate chip cookies be the number of slots to the left of the first divider, the number of oatmeal cookies be the number of slots between the two dividers, and the number of peanut butter cookies be the number of slots to the right of the second divider. For example, $111 \mid 11 \mid 1$ represents three chocolate chip cookies, two oatmeal cookies, and one peanut butter cookie. There are $C_8^2 = 28$ ways to place the two dividers, so there are $28$ ways to select the six cookies.

Question 15

Dễ · +10 điểm

Đề: AMC 10 2014A · Question 5 · Lớp 8–10

On an algebra quiz, $10\%$ of the students scored $70$ points, $35\%$ scored $80$ points, $30\%$ scored $90$ points, and the rest scored $100$ points. What is the difference between the mean and the median of the students’ scores on this quiz?

Chọn đáp án

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

Đáp án: $3$

The percentage of students scoring $100$ points is: \[ 100\% - (10\% + 35\% + 30\%) = 25\%. \] The cumulative percentages are:

  • Up to $70$: $10\%$,
  • Up to $80$: $10\% + 35\% = 45\%$,
  • Up to $90$: $45\% + 30\% = 75\%$.

Since the $50\text{th}$ percentile falls in the $90$-point group, the median score is $90$. The mean score is the weighted average: \[ \text{Mean} = 0.10(70) + 0.35(80) + 0.30(90) + 0.25(100) = 7 + 28 + 27 + 25 = 87. \] The difference between the median and the mean is: \[ 90 - 87 = 3. \]

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.