Question 226
How many squares of all sizes are there in the $4 \times 4$ grid?
Xem đáp án và lời giải
Đáp án: $30$
Tổng số hình vuông là $1^2 + 2^2 + \cdots + 4^2 = 30$.
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 squares of all sizes are there in the $4 \times 4$ grid?
Đáp án: $30$
Tổng số hình vuông là $1^2 + 2^2 + \cdots + 4^2 = 30$.
A frog climbs a staircase with $6$ 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: $13$
Dùng dãy Fibonacci $F_1=1, F_2=2, F_k = F_{k-1} + F_{k-2}$: với $n = 6$ ta được $F_{6} = 13$ cách.
How many $2$-digit whole numbers have the sum of their digits equal to $8$?
Đáp án: $8$
Chữ số hàng chục có thể là $1, 2, \dots, 8$, ứng với mỗi giá trị có đúng $1$ chữ số hàng đơn vị. Vậy có $8$ số.
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 frog climbs a staircase with $6$ 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: $13$
Dùng dãy Fibonacci $F_1=1, F_2=2, F_k = F_{k-1} + F_{k-2}$: với $n = 6$ ta được $F_{6} = 13$ cách.
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 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 squares of all sizes are there in the $4 \times 4$ grid?
Đáp án: $30$
Tổng số hình vuông là $1^2 + 2^2 + \cdots + 4^2 = 30$.
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 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$.
How many $3$-digit whole numbers can be formed using the digits $0, 2, 5, 7$ if no digit is repeated?
Đáp án: $18$
Hàng trăm có $3$ cách chọn (khác $0$), hàng chục có $3$ cách, hàng đơn vị có $2$ cách. Tổng cộng $3 \times 3 \times 2 = 18$ số.
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$.
A dark drawer contains $7$ red socks, $7$ blue socks, $7$ green socks (3 colors in total). What is the minimum number of socks you must pull out without looking to guarantee a matching pair?
Đáp án: $4$
Theo nguyên lý Dirichlet, trong trường hợp xấu nhất ta rút được $3$ chiếc khác màu nhau. Chiếc thứ $4$ chắc chắn trùng màu với một chiếc đã rút.
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.
Using the digits $1, 2, 3, 4$ without repetition, how many distinct 2-digit numbers can be formed?
Đáp án: $12$
There are $4$ choices for the tens digit and $3$ for the units digit: $4 \times 3 = 12$.