Question 256
How many $2$-digit whole numbers have the sum of their digits equal to $7$?
Xem đáp án và lời giải
Đáp án: $7$
Chữ số hàng chục có thể là $1, 2, \dots, 7$, ứng với mỗi giá trị có đúng $1$ chữ số hàng đơn vị. Vậy có $7$ số.
Luyện tập / Chủ đề Combinatorics · Tổ hợp
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ê.
Đăng nhập để lưu tiến độ và tích lũy điểm trên bảng xếp hạng.
How many $2$-digit whole numbers have the sum of their digits equal to $7$?
Đáp án: $7$
Chữ số hàng chục có thể là $1, 2, \dots, 7$, ứng với mỗi giá trị có đúng $1$ chữ số hàng đơn vị. Vậy có $7$ số.
At a math camp, $8$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $28$
Số cái bắt tay là $\dfrac{8 \times 7}{2} = 28$.
A box contains socks of $4$ different colors (at least $10$ of each). What is the minimum number of socks to draw in the dark to guarantee at least $2$ socks of the same color?
Đáp án: $5$
Theo nguyên lý Dirichlet, số tất ít nhất phải lấy là $4 \times (2 - 1) + 1 = 5$.
At a meeting, $13$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $78$
Số cái bắt tay là $\dfrac{13 \times (13 - 1)}{2} = 78$.
A dark drawer contains $4$ red socks, $4$ blue socks, $4$ green socks, and $2$ more color(s) with $4$ socks each (5 colors in total). What is the minimum number of socks you must pull out without looking to guarantee a matching pair?
Đáp án: $6$
Theo nguyên lý Dirichlet, trong trường hợp xấu nhất ta rút được $5$ chiếc khác màu nhau. Chiếc thứ $6$ chắc chắn trùng màu với một chiếc đã rút.
Two standard $6$-sided dice are rolled. How many outcomes give a sum equal to $8$?
Đáp án: $5$
Liệt kê các cặp $(a, b)$ với $1 \leqslant a, b \leqslant 6$ và $a + b = 8$, ta có đúng $5$ kết quả.
At a meeting, $10$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $45$
Số cái bắt tay là $\dfrac{10 \times (10 - 1)}{2} = 45$.
How many $3$-digit numbers with all distinct digits can be formed using the digits $1, 2, 3, 4, 5, 6$?
Đáp án: $120$
Chọn chữ số hàng trăm có $6$ cách, hàng chục có $5$ cách, hàng đơn vị có $4$ cách. Tổng: $6 \times 5 \times 4 = 120$.
A frog climbs a staircase with $8$ steps. In each jump, it can go up either $1$ step or $2$ steps. How many different ways can the frog reach the top?
Đáp án: $34$
Dùng dãy Fibonacci $F_1=1, F_2=2, F_k = F_{k-1} + F_{k-2}$: với $n = 8$ ta được $F_{8} = 34$ cách.
At a meeting, $12$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $66$
Số cái bắt tay là $\dfrac{12 \times (12 - 1)}{2} = 66$.
How many squares of all sizes are there in the $3 \times 3$ grid?
Đáp án: $14$
Tổng số hình vuông là $1^2 + 2^2 + \cdots + 3^2 = 14$.
Two fair $7$-sided dice numbered $1$ to $7$ are rolled. How many outcomes give two DIFFERENT numbers?
Đáp án: $42$
Tổng số kết quả là $7 \times 7 = 49$. Trừ đi $7$ kết quả hai mặt giống nhau, còn $49 - 7 = 42$.
A frog climbs a staircase with $9$ steps. In each jump, it can go up either $1$ step or $2$ steps. How many different ways can the frog reach the top?
Đáp án: $55$
Dùng dãy Fibonacci $F_1=1, F_2=2, F_k = F_{k-1} + F_{k-2}$: với $n = 9$ ta được $F_{9} = 55$ cách.
Two standard $6$-sided dice are rolled. How many outcomes give a sum equal to $6$?
Đáp án: $5$
Liệt kê các cặp $(a, b)$ với $1 \leqslant a, b \leqslant 6$ và $a + b = 6$, ta có đúng $5$ kết quả.
At a math camp, $8$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $28$
Số cái bắt tay là $\dfrac{8 \times 7}{2} = 28$.