Học tập / Giai đoạn 4 · Chuyên đề nâng cao & đề IMO thật
Lesson 23. Fermat’s little theorem in IMO problemsLesson 23. Fermat’s little theorem in IMO problems
🧭 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ẽ
Dùng định lý Fermat nhỏ để chọn chỉ số khéo léo Dùng thuật toán Euclid chứng minh phân số tối giản Giải hai bài IMO số học
Use Fermat’s little theorem to choose a clever index Use the Euclidean algorithm to prove a fraction is in lowest terms Solve two IMO number theory problems
Nhắc lại: nếu $p$ nguyên tố và $p \nmid a$ thì $a^{p-1} \equiv 1 \pmod p$. Trong đề thi, cái khó thường không phải là định lý mà là chọn đúng số mũ để áp dụng.
🏅 IMO 1959 — Bài 1 (bài đầu tiên của IMO)
Chứng minh rằng phân số $\dfrac{21n + 4}{14n + 3}$ tối giản với mọi số tự nhiên $n$.
Lời giải (hãy tự làm ít nhất 30 phút trước khi mở)
Gọi $d = \gcd(21n + 4, 14n + 3)$. Khi đó $d$ chia hết $3(14n + 3) - 2(21n + 4) = 42n + 9 - 42n - 8 = 1$. Vậy $d = 1$. $\blacksquare$
Ý tưởng: tìm tổ hợp tuyến tính của tử và mẫu để khử $n$ — chính là thuật toán Euclid.
🏅 IMO 2005 — Bài 4
Xét dãy $a_n = 2^n + 3^n + 6^n - 1$ với $n = 1, 2, 3, \dots$ Tìm tất cả các số nguyên dương nguyên tố cùng nhau với mọi số hạng của dãy.
Lời giải (hãy tự làm ít nhất 30 phút trước khi mở)
Đáp số: chỉ có số $1$. Ta chứng minh mọi số nguyên tố $p$ đều chia hết ít nhất một số hạng.
- $p = 2$ và $p = 3$: $a_2 = 4 + 9 + 36 - 1 = 48$ chia hết cho cả 2 và 3.
- $p \ge 5$: xét $n = p - 2$. Ta có $$6a_{p-2} = 3 \cdot 2^{p-1} + 2 \cdot 3^{p-1} + 6^{p-1} - 6 \equiv 3 + 2 + 1 - 6 = 0 \pmod p$$ theo Fermat nhỏ. Vì $\gcd(6, p) = 1$ nên $p \mid a_{p-2}$.
Một số nguyên dương $m > 1$ có ước nguyên tố $p$, mà $p$ chia hết một số hạng, nên $m$ không nguyên tố cùng nhau với số hạng đó. $\blacksquare$
Bài học rút ra
- Biểu thức có $2^n, 3^n, 6^n$ → nhân với 6 để đưa về số mũ $p-1$.
- Câu hỏi “tìm tất cả” luôn gồm hai phần: chỉ ra đáp số và chứng minh không còn số nào khác.
Recall: if $p$ is prime and $p \nmid a$ then $a^{p-1} \equiv 1 \pmod p$. In contest problems the hard part is usually not the theorem but choosing the right exponent to apply it to.
🏅 IMO 1959 — Problem 1 (the very first IMO problem)
Prove that the fraction $\dfrac{21n + 4}{14n + 3}$ is irreducible for every natural number $n$.
Solution (try it yourself for at least 30 minutes before opening)
Let $d = \gcd(21n + 4, 14n + 3)$. Then $d$ divides $3(14n + 3) - 2(21n + 4) = 42n + 9 - 42n - 8 = 1$. So $d = 1$. $\blacksquare$
Idea: find a linear combination of numerator and denominator that eliminates $n$ — this is exactly the Euclidean algorithm.
🏅 IMO 2005 — Problem 4
Consider the sequence $a_n = 2^n + 3^n + 6^n - 1$ for $n = 1, 2, 3, \dots$ Determine all positive integers that are relatively prime to every term of the sequence.
Solution (try it yourself for at least 30 minutes before opening)
Answer: only $1$. We show that every prime $p$ divides at least one term.
- $p = 2$ and $p = 3$: $a_2 = 4 + 9 + 36 - 1 = 48$ is divisible by both 2 and 3.
- $p \ge 5$: take $n = p - 2$. Then $$6a_{p-2} = 3 \cdot 2^{p-1} + 2 \cdot 3^{p-1} + 6^{p-1} - 6 \equiv 3 + 2 + 1 - 6 = 0 \pmod p$$ by Fermat’s little theorem. Since $\gcd(6, p) = 1$, $p \mid a_{p-2}$.
Any positive integer $m > 1$ has a prime factor $p$, and $p$ divides some term, so $m$ is not relatively prime to that term. $\blacksquare$
Lessons learned
- An expression with $2^n, 3^n, 6^n$ → multiply by 6 to reach the exponent $p-1$.
- A “find all” question always has two parts: give the answer and prove there are no others.
Bình luận (0)
Chưa có bình luận nào. Hãy là người đầu tiên!