Browse · MathNet
PrintChina National Team Selection Test
China number theory
Problem
Given integer , for , define to be the least positive integer not coprime to and not equal to , . Prove that every integer except appears in the sequence . (Posed by Yu Hongbing)
Solution
Step 1: We prove that there are infinitely many even numbers in this sequence. Suppose on the contrary that there are only finitely many even numbers, and there is an integer , such that all even numbers greater than do not appear in the sequence. It follows that there exists a positive integer such that is an odd number greater than for any . Then there is some such that (otherwise the sequence is strictly decreasing after , a contradiction). Let be the smallest prime divisor of , . Since we have , i.e. . On the other hand, is even and greater than , so it does not appear before , and therefore , which is even — a contradiction.
Step 2: We prove that all even numbers are in this sequence. Suppose on the contrary that is not in this sequence and is the smallest such even number. Let be the subsequence of consisting of all even numbers. By step 1, it is an infinite sequence. Since and , we have by definition. However, is infinite — a contradiction. Thus, contains all even numbers.
Step 3: We prove that contains all odd numbers greater than . Suppose on the contrary that is an odd integer greater than which is not in , and is the smallest such number. By step 2, there is an infinite subsequence of consisting of even numbers that are multiples of . Arguing analogously as in step 2, we have , , a contradiction.
We have shown that contains all positive integers except .
Step 2: We prove that all even numbers are in this sequence. Suppose on the contrary that is not in this sequence and is the smallest such even number. Let be the subsequence of consisting of all even numbers. By step 1, it is an infinite sequence. Since and , we have by definition. However, is infinite — a contradiction. Thus, contains all even numbers.
Step 3: We prove that contains all odd numbers greater than . Suppose on the contrary that is an odd integer greater than which is not in , and is the smallest such number. By step 2, there is an infinite subsequence of consisting of even numbers that are multiples of . Arguing analogously as in step 2, we have , , a contradiction.
We have shown that contains all positive integers except .
Techniques
Greatest common divisors (gcd)Prime numbersRecurrence relations