Question 151
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.
At a meeting, $5$ students each shake hands with every other student exactly once. How many handshakes take place in total?
Đáp án: $10$
Số cái bắt tay là $\dfrac{5 \times (5 - 1)}{2} = 10$.
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$.
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 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$.
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$.
At a meeting, $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 (7 - 1)}{2} = 21$.
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.