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 124/131 (Question 1846–1860)

Điểm: 0/15

Question 1846

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

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

The parabola $\mathcal{P}$ has focus $(0, 0)$ and goes through the points $(4, 3)$ and $(-4, -3)$. For how many points $(x, y) \in \mathcal{P}$ with integer coordinates is it true that $|4x + 3y| \leqslant 1000$?

Chọn đáp án

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

Đáp án: $40$

The focus $F(0, 0)$ is the midpoint of $A(4, 3)$ and $B(-4, -3)$, with $FA = FB = \sqrt{4^2 + 3^2} = 5$. Thus $AB$ is the latus rectum of $\mathcal{P}$ along line $3x - 4y = 0$, and the directrix of $\mathcal{P}$ is parallel to $AB$ at distance $5$ from both $A$ and $B$ (say $3x - 4y = 25$).

Set $u = 4x + 3y$ and $v = 3x - 4y$. Since $u^2 + v^2 = 25(x^2 + y^2)$, equating distance to $F(0, 0)$ with perpendicular distance to $3x - 4y = 25$ gives $$\sqrt{x^2 + y^2} = \dfrac{|v - 25|}{5} \iff u^2 + v^2 = (v - 25)^2 \iff u^2 = 625 - 50v.$$ Hence $5 \mid u$; write $u = 5t$, so $25t^2 = 25(25 - 2v) \implies 2v = 25 - t^2$, forcing $t$ to be odd.

Inverting $(u, v)$ yields $25x = 4u + 3v$ and $25y = 3u - 4v$. We need $4u + 3v \equiv 0 \pmod{25}$: $$2(4u + 3v) = 40t + 3(25 - t^2) \equiv -3t(t - 5) \equiv 0 \pmod{25} \iff 25 \mid t(t - 5).$$ Since $\gcd(t, t - 5) \in \{1, 5\}$, $25 \mid t(t - 5)$ holds if and only if $5 \mid t$. Writing $t = 5m$ with $m$ odd gives $$u = 25m, \qquad v = 25 \cdot \dfrac{1 - m^2}{2},$$ both of which are integer multiples of $25$ (since $m$ is odd, $1 - m^2$ is even), guaranteeing $(x, y) \in \mathbb{Z}^2$.

Finally, $|4x + 3y| = |u| = 25|m| \leqslant 1000 \iff |m| \leqslant 40$. The odd integers $m$ satisfying $-40 \leqslant m \leqslant 40$ are $\pm 1, \pm 3, \dots, \pm 39$, giving $2 \times 20 = 40$ lattice points.

Question 1847

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

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

Alice, Bob, and Carol play a game in which each of them chooses a real number between $0$ and $1$. The winner of the game is the one whose number is between the numbers chosen by the other two players. Alice announces that she will choose her number uniformly at random from all the numbers between $0$ and $1$, and Bob announces that he will choose his number uniformly at random from all the numbers between $\dfrac{1}{2}$ and $\dfrac{2}{3}$. Armed with this information, what number should Carol choose to maximize her chance of winning?

Chọn đáp án

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

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

Let $A \sim U(0, 1)$ be Alice's choice and $B \sim U\left(\dfrac{1}{2}, \dfrac{2}{3}\right)$ be Bob's choice. Carol chooses a fixed number $c \in (0, 1)$. Carol wins if $c$ lies strictly between $A$ and $B$, which occurs in two disjoint cases: \[ A < c < B \text{ or } B < c < A. \] Clearly, to maximize this probability, Carol should choose $c \in \left[\dfrac{1}{2}, \dfrac{2}{3}\right]$. For $c \in \left[\dfrac{1}{2}, \dfrac{2}{3}\right]$: $$\begin{aligned} P(A < c < B) &= P(A < c) \cdot P(B > c) = c \cdot \dfrac{\dfrac{2}{3} - c}{\dfrac{2}{3} - \dfrac{1}{2}} = 6c\left(\dfrac{2}{3} - c\right) = 4c - 6c^2, \\ P(B < c < A) &= P(B < c) \cdot P(A > c) = \dfrac{c - \dfrac{1}{2}}{\dfrac{1}{6}} \cdot (1 - c) = 6\left(c - \dfrac{1}{2}\right)(1 - c) = (6c - 3)(1 - c). \end{aligned}$$ Summing the two probabilities: $$\begin{aligned} P(c) &= (4c - 6c^2) + (6c - 6c^2 - 3 + 3c) \\ &= -12c^2 + 13c - 3. \end{aligned}$$ This is a downward-opening quadratic in $c$. Its maximum occurs at the vertex: \[ c = -\dfrac{13}{2(-12)} = \dfrac{13}{24}. \] Notice that $\dfrac{1}{2} = \dfrac{12}{24} < \dfrac{13}{24} < \dfrac{16}{24} = \dfrac{2}{3}$, so $c = \dfrac{13}{24}$ lies in the interval. Therefore, Carol should choose $\dfrac{13}{24}$.

Question 1850

Dễ · +10 điểm

Đề: AP Statistics · Đề luyện #01 (20 câu) · Question 2 · Lớp 11–12

A binomial random variable $X \sim B(80, 0.1)$ models the number of successes in $80$ independent trials. What is the expected value $E(X)$?

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

Đáp án: $8$

$E(X) = np = 80 \times 0.1 = 8$.

Question 1851

Dễ · +10 điểm

Đề: AP Statistics · Đề luyện #01 (20 câu) · Question 8 · Lớp 11–12

A binomial random variable $X \sim B(120, 0.2)$ models the number of successes in $120$ independent trials. What is the expected value $E(X)$?

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

Đáp án: $24$

$E(X) = np = 120 \times 0.2 = 24$.

Question 1852

Dễ · +10 điểm

Đề: AP Statistics · Đề luyện #01 (20 câu) · Question 14 · Lớp 11–12

A binomial random variable $X \sim B(120, 0.6)$ models the number of successes in $120$ independent trials. What is the expected value $E(X)$?

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

Đáp án: $72$

$E(X) = np = 120 \times 0.6 = 72$.

Question 1853

Dễ · +10 điểm

Đề: AP Statistics · Đề luyện #01 (20 câu) · Question 20 · Lớp 11–12

A binomial random variable $X \sim B(100, 0.25)$ models the number of successes in $100$ independent trials. What is the expected value $E(X)$?

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

Đáp án: $25$

$E(X) = np = 100 \times 0.25 = 25$.

Question 1854

Dễ · +10 điểm

Đề: AP Statistics · Đề luyện #02 (20 câu) · Question 2 · Lớp 11–12

A binomial random variable $X \sim B(100, 0.3)$ models the number of successes in $100$ independent trials. What is the expected value $E(X)$?

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

Đáp án: $30$

$E(X) = np = 100 \times 0.3 = 30$.

Question 1855

Dễ · +10 điểm

Đề: AP Statistics · Đề luyện #02 (20 câu) · Question 8 · Lớp 11–12

A binomial random variable $X \sim B(60, 0.3)$ models the number of successes in $60$ independent trials. What is the expected value $E(X)$?

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

Đáp án: $18$

$E(X) = np = 60 \times 0.3 = 18$.

Question 1856

Dễ · +10 điểm

Đề: AP Statistics · Đề luyện #02 (20 câu) · Question 14 · Lớp 11–12

A binomial random variable $X \sim B(80, 0.3)$ models the number of successes in $80$ independent trials. What is the expected value $E(X)$?

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

Đáp án: $24$

$E(X) = np = 80 \times 0.3 = 24$.

Question 1857

Dễ · +10 điểm

Đề: AP Statistics · Đề luyện #02 (20 câu) · Question 20 · Lớp 11–12

A binomial random variable $X \sim B(50, 0.4)$ models the number of successes in $50$ independent trials. What is the expected value $E(X)$?

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

Đáp án: $20$

$E(X) = np = 50 \times 0.4 = 20$.

[Part A · Easy] A Bloom filter uses an $8$-bit array B[0..7] initialized to 00000000 and two hash functions $h_1(x) = x \bmod 8$ and $h_2(x) = (3x + 1) \bmod 8$. Inserting key $x$ sets both B[h1(x)] = 1 and B[h2(x)] = 1. After inserting x = 2 and x = 7, how many bits in B[0..7] are equal to 1?

Chọn đáp án

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

Đáp án: $3$

Answer / Đáp án: 3

Step-by-step (EN): - For $x = 2$: $h_1(2) = 2$, $h_2(2) = (6+1) \bmod 8 = 7 \to$ sets bits {2, 7}.

  • For $x = 7$: $h_1(7) = 7$ (already 1!), $h_2(7) = (21+1) \bmod 8 = 6 \to$ sets bits {6, 7}.

Distinct set bits: {2, 6, 7}, so $3$ bits equal 1.

Giải chi tiết (VI): - Với $x = 2$: $h_1(2) = 2$, $h_2(2) = 7 \to$ bật các ô {2, 7}.

  • Với $x = 7$: $h_1(7) = 7$ (trùng ô 7 đã bật!), $h_2(7) = 22 \bmod 8 = 6 \to$ bật {6, 7}.

Hợp lại có các vị trí {2, 6, 7}, tức đúng $3$ bit bằng 1.

Computational Thinking / Tư duy Máy tính: Probabilistic Data Structures — Bloom Filters (Cấu trúc dữ liệu xác suất Bloom Filter).

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.