Skip to main content
OlympiadHQ

Browse · MathNet

Print

The 35th Japanese Mathematical Olympiad

Japan number theory

Problem

Let and be two sequences consisting of positive integers such that, for any positive integer , holds. How many initial pairs with are possible?
Solution
\boxed{1064} Lemma 1. Let and be positive integers. If , we have .

If , we have . Proof. We can write , for some odd integers . In the case of , we have . Since is even, is odd. Thus holds. In the case of the same argument shows that . In the case of , we have . Since is even, we have . ■

Lemma 2. If satisfy , we have: Proof. Since , we have by Lemma 1. Thus we have . Similarly holds. ■

We will show that, if and satisfy the condition of the problem, holds. Assume . If , cannot be an integer. If , Lemma 2 shows inductively that for . However, when we have , then cannot be an integer. This is a contradiction and we conclude that . Next we will show that, for any integers with , there exists sequences and such that and . Lemma 3. If satisfy , at least one of the following statements hold: is even and holds. is even and holds. Proof. We will show that if the first condition holds. is even because . If , we have and thus by Lemma 1. If , we have and thus by Lemma 1.

Let . Then for we can proceed inductively as follows: Since , Lemma 3 shows that at least one of , is a pair such that . We set for such . The resulting sequences and meet the condition of the problem. Therefore the answer is the number of pairs of integers with such that . Note that for because . For , the number of integers such that is . Thus we can calculate The number of pairs of integers with such that is . Therefore, the answer is .
Final answer
1064

Techniques

Factorization techniquesRecurrence relations