Skip to main content
OlympiadHQ

Browse · MathNet

Print

China Western Mathematical Olympiad

China algebra

Problem

Let be an integer and . Define a sequence as follows: , and for Determine, with proof, all possible for which there exist non-negative integers () and positive integers such that .
Solution
The answer is . If , then , , , so . Hence, and .

For , it follows from the recurrent relation that the sequence is strictly increasing, and for all . In particular, for , we have Suppose there exist , and such that and . We may assume that , and divide into the following cases.

a. : Then , which contradicts the original assumption.

b. : If , then we have , and modulo we have , which contradicts . If , then , which contradicts the original assumption.

c. : In this case, from we have , then , which contradicts the original assumption.

d. : Then . It follows from that Note that hence Then by increasing property of and ④, we have , so inequalities ①–③ turn into equalities. It follows from ② that , and from ③ that . Hence, . And it follows from ① that . From , we have , so , which is impossible.

So is the only solution. □
Final answer
k = 2

Techniques

Recurrence relationsModular Arithmetic