Question 301
At a math camp, $7$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Xem đáp án và lời giải
Đáp án: $21$
Số cái bắt tay là $\dfrac{7 \times 6}{2} = 21$.
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.
At a math camp, $7$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $21$
Số cái bắt tay là $\dfrac{7 \times 6}{2} = 21$.
A box contains socks of $3$ 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: $4$
Theo nguyên lý Dirichlet, số tất ít nhất phải lấy là $3 \times (2 - 1) + 1 = 4$.
At a meeting, $14$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $91$
Số cái bắt tay là $\dfrac{14 \times (14 - 1)}{2} = 91$.
Two fair $4$-sided dice numbered $1$ to $4$ are rolled. How many outcomes give two DIFFERENT numbers?
Đáp án: $12$
Tổng số kết quả là $4 \times 4 = 16$. Trừ đi $4$ kết quả hai mặt giống nhau, còn $16 - 4 = 12$.
How many $3$-digit numbers with all distinct digits can be formed using the digits $1, 2, 3, 4, 5$?
Đáp án: $60$
Chọn chữ số hàng trăm có $5$ cách, hàng chục có $4$ cách, hàng đơn vị có $3$ cách. Tổng: $5 \times 4 \times 3 = 60$.
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$.
At a meeting, $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 (8 - 1)}{2} = 28$.
A dark drawer contains $7$ red socks, $7$ blue socks, $7$ green socks, and $2$ more color(s) with $7$ 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.
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.
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$.
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 $7$ red socks, $7$ blue socks, $7$ green socks, and $1$ more color(s) with $7$ socks each (4 colors in total). What is the minimum number of socks you must pull out without looking to guarantee a matching pair?
Đáp án: $5$
Theo nguyên lý Dirichlet, trong trường hợp xấu nhất ta rút được $4$ chiếc khác màu nhau. Chiếc thứ $5$ chắc chắn trùng màu với một chiếc đã rút.
How many $3$-digit numbers with all distinct digits can be formed using the digits $1, 2, 3, 4, 5$?
Đáp án: $60$
Chọn chữ số hàng trăm có $5$ cách, hàng chục có $4$ cách, hàng đơn vị có $3$ cách. Tổng: $5 \times 4 \times 3 = 60$.
At a meeting, $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 (8 - 1)}{2} = 28$.