Question 1
Mia has $5$ different shirts and $3$ different pairs of socks. How many different shirt-and-sock combinations can she wear?
Xem đáp án và lời giải
Đáp án: $15$
Theo quy tắc nhân: $5 \times 3 = 15$ cách.
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.
Mia has $5$ different shirts and $3$ different pairs of socks. How many different shirt-and-sock combinations can she wear?
Đáp án: $15$
Theo quy tắc nhân: $5 \times 3 = 15$ cách.
A full binary tree has $1$ root at level $0$, $2$ nodes at level $1$, and doubles at every next level. How many nodes are there in total from level $0$ to level $5$?
Đáp án: $63$
Tổng số nút là $1 + 2 + 4 + \cdots + 2^{5} = 2^{6} - 1 = 63$.
A $3 \times 3$ square grid is colored like a chessboard, starting with an orange square at the top-left corner. How many orange squares are there in total?
Đáp án: $5$
Bảng $3 \times 3$ có $9$ ô, số ô màu cam là $\lceil 9 / 2 \rceil = 5$.
Bonus question. A frog wants to travel exactly 11 squares forward. Each jump moves either 1 square or 3 squares. How many different sequences of jumps are possible?
Đáp án: $41$
Gọi W(k) là số cách đi đúng k ô, W(0)=1. Xét bước cuối: W(k)=W(k−1)+W(k−3), với W(k)=0 khi k âm. Tính lần lượt đến k=11 được 41.
At a math camp, $6$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $15$
Số cái bắt tay là $\dfrac{6 \times 5}{2} = 15$.
Mama Kangaroo hung $7$ identical single socks on a clothesline. How many complete pairs of socks can she make?
Đáp án: $3$
How many $2$-digit whole numbers have the sum of their digits equal to $9$?
Đáp án: $9$
Chữ số hàng chục có thể là $1, 2, \dots, 9$, ứng với mỗi giá trị có đúng $1$ chữ số hàng đơn vị. Vậy có $9$ số.
Mia has $3$ different shirts and $4$ different pairs of socks. How many different shirt-and-sock combinations can she wear?
Đáp án: $12$
Theo quy tắc nhân: $3 \times 4 = 12$ cách.
A $3 \times 3$ square grid is colored like a chessboard, starting with an orange square at the top-left corner. How many orange squares are there in total?
Đáp án: $5$
Bảng $3 \times 3$ có $9$ ô, số ô màu cam là $\lceil 9 / 2 \rceil = 5$.
A box contains socks of $5$ 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: $6$
Theo nguyên lý Dirichlet, số tất ít nhất phải lấy là $5 \times (2 - 1) + 1 = 6$.
A dark drawer contains $5$ red socks, $5$ blue socks, $5$ green socks, and $2$ more color(s) with $5$ 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.
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$.
Maya writes the word MATHEMATICS 10 times in a row. How many times does she write the letter T?
Đáp án: $20$
Each copy of MATHEMATICS contains $2$ occurrence(s) of T, so 10 copies contain $2 \times 10 = 20$.
At a math camp, $6$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $15$
Số cái bắt tay là $\dfrac{6 \times 5}{2} = 15$.
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.