Browse · MathNet
Print51st IMO Shortlisted Problems
number theory
Problem
Let be integers, and let . For any positive integer we say that the pair is -good if implies for all integers . We say that is very good if is -good for infinitely many positive integers .
a. Find a pair which is -good, but not very good.
b. Show that all -good pairs are very good.
(Turkey)
a. Find a pair which is -good, but not very good.
b. Show that all -good pairs are very good.
(Turkey)
Solution
a. We show that the pair is -good but not very good. Let . Since , the pair is not -good for any positive integer that does not divide . Therefore, is not very good.
On the other hand, if , then . By Fermat's theorem, from this we obtain Hence we have . Therefore is -good.
b. We will show that if a pair is -good then is -good for all positive integer .
Claim 1. If is -good then is -good.
Proof. Assume that . Since and are coprime, there exist integers and such that , , and , . Then we have and , hence . This implies as is -good. It follows that . Therefore, is -good.
Claim 2. If is -good then .
Proof. Suppose that . Consider the sets and . Since , each of these sets has elements. Hence they have at least one element in common. If then for , we have Since is -good, we must have in both cases, that is, and . This means and . But then and , contradicting that is -good.
Claim 3. If is -good then is -good for all .
Proof. By Claim 2, we have . If , then for all , contradicting that is -good. Hence, .
Suppose that . Since and , the second factor is coprime to and hence . Therefore, is -good.
On the other hand, if , then . By Fermat's theorem, from this we obtain Hence we have . Therefore is -good.
b. We will show that if a pair is -good then is -good for all positive integer .
Claim 1. If is -good then is -good.
Proof. Assume that . Since and are coprime, there exist integers and such that , , and , . Then we have and , hence . This implies as is -good. It follows that . Therefore, is -good.
Claim 2. If is -good then .
Proof. Suppose that . Consider the sets and . Since , each of these sets has elements. Hence they have at least one element in common. If then for , we have Since is -good, we must have in both cases, that is, and . This means and . But then and , contradicting that is -good.
Claim 3. If is -good then is -good for all .
Proof. By Claim 2, we have . If , then for all , contradicting that is -good. Hence, .
Suppose that . Since and , the second factor is coprime to and hence . Therefore, is -good.
Final answer
a: (1, -51^2). b: Every 2010-good pair is very good (indeed it is 67^i-good for all positive integers i).
Techniques
Chinese remainder theoremFermat / Euler / Wilson theoremsInverses mod nPolynomials mod pPolynomial operationsPigeonhole principleGreatest common divisors (gcd)