Học tập / Giai đoạn 1 · Lớp 6–7: Nền móng
Lesson 3. Divisibility and remainders — working on a “number clock”Lesson 3. Divisibility and remainders — working on a “number clock”
🧭 Chủ đề:Topic: Số học: chia hết, số nguyên tốNumber theory · xem bài cùng chủ đề ở mọi độ tuổisee this topic at every age
🎯 Sau bài này bạn sẽ
Tính số dư của tổng, tích, lũy thừa Tìm chữ số tận cùng của lũy thừa lớn
Find remainders of sums, products and powers Find the last digit of large powers
Khi chỉ quan tâm số dư khi chia cho $m$, ta có thể thay mỗi số bằng số dư của nó trong phép cộng, trừ và nhân. Viết $a \equiv b \pmod m$ nghĩa là $a$ và $b$ có cùng số dư khi chia cho $m$ (đọc: $a$ đồng dư với $b$ theo môđun $m$).
Nếu $a \equiv b$ và $c \equiv d \pmod m$ thì $a + c \equiv b + d$, $ac \equiv bd$ và $a^n \equiv b^n \pmod m$.
Ví dụ 1
Tìm số dư của $2025 \cdot 2026 + 7$ khi chia cho 5. — Ta có $2025 \equiv 0$ nên tích $\equiv 0$; kết quả dư $7 \equiv 2$.
Ví dụ 2 — Chữ số tận cùng
Tìm chữ số tận cùng của $3^{2025}$. Chữ số tận cùng của $3^1, 3^2, 3^3, 3^4, 3^5, \ldots$ là $3, 9, 7, 1, 3, \ldots$ — lặp lại chu kì 4. Vì $2025 = 4 \cdot 506 + 1$ nên tận cùng là 3.
Ví dụ 3 — Chứng minh chia hết
Chứng minh $n^3 - n$ chia hết cho 6 với mọi số tự nhiên $n$. — $n^3 - n = (n - 1)n(n + 1)$ là tích ba số liên tiếp, trong đó có một số chẵn và một số chia hết cho 3. ∎
Bài toán từ IMO
🏅 IMO 1964 — Bài 1
a) Tìm tất cả số nguyên dương $n$ sao cho $2^n - 1$ chia hết cho 7.
b) Chứng minh rằng $2^n + 1$ không chia hết cho 7 với mọi số nguyên dương $n$.
Lời giải (hãy tự làm ít nhất 30 phút trước khi mở)
Số dư của $2^n$ khi chia cho 7 lặp lại theo chu kỳ 3: $2^1 \equiv 2$, $2^2 \equiv 4$, $2^3 = 8 \equiv 1$, rồi lại $2, 4, 1, \dots$
a) $2^n - 1 \equiv 0 \pmod 7 \iff 2^n \equiv 1 \iff n$ chia hết cho 3. Đáp số: $n = 3, 6, 9, \dots$
b) $2^n + 1$ chia 7 có số dư là $3, 5$ hoặc $2$ — không bao giờ bằng 0. $\blacksquare$
When we only care about the remainder on division by $m$, we may replace each number by its remainder in additions, subtractions and multiplications. We write $a \equiv b \pmod m$ to mean that $a$ and $b$ leave the same remainder on division by $m$ (read: $a$ is congruent to $b$ modulo $m$).
If $a \equiv b$ and $c \equiv d \pmod m$ then $a + c \equiv b + d$, $ac \equiv bd$ and $a^n \equiv b^n \pmod m$.
Example 1
Find the remainder of $2025 \cdot 2026 + 7$ on division by 5. — $2025 \equiv 0$, so the product is $\equiv 0$; the result leaves $7 \equiv 2$.
Example 2 — Last digits
Find the last digit of $3^{2025}$. The last digits of $3^1, 3^2, 3^3, 3^4, 3^5, \ldots$ are $3, 9, 7, 1, 3, \ldots$ — repeating with period 4. Since $2025 = 4 \cdot 506 + 1$, the last digit is 3.
Example 3 — Proving divisibility
Prove that $n^3 - n$ is divisible by 6 for every whole number $n$. — $n^3 - n = (n - 1)n(n + 1)$ is a product of three consecutive numbers, one of which is even and one divisible by 3. ∎
A problem from the IMO
🏅 IMO 1964 — Problem 1
a) Find all positive integers $n$ for which $2^n - 1$ is divisible by 7.
b) Prove that $2^n + 1$ is not divisible by 7 for any positive integer $n$.
Solution (try it yourself for at least 30 minutes before opening)
The remainders of $2^n$ mod 7 repeat with period 3: $2^1 \equiv 2$, $2^2 \equiv 4$, $2^3 = 8 \equiv 1$, then $2, 4, 1, \dots$ again.
a) $2^n - 1 \equiv 0 \pmod 7 \iff 2^n \equiv 1 \iff n$ is a multiple of 3. Answer: $n = 3, 6, 9, \dots$
b) $2^n + 1$ leaves remainder $3, 5$ or $2$ mod 7 — never 0. $\blacksquare$
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!