Browse · MathNet
PrintTeam Selection Test for IMO 2023
Turkey 2023 number theory
Problem
We say that an integer sequence is good if for some function and all positive integers Find all good sequences.
Solution
Given a good sequence, consider the following for all for fixed , , : Thus one has for all , , . Now consider two cases separately:
a. If , then for all , which means for some , which are not necessarily distinct. Indeed, then the function satisfies the condition.
b. If , then for all , thus , hence , which means for some and . Indeed, then the function satisfies the condition.
a. If , then for all , which means for some , which are not necessarily distinct. Indeed, then the function satisfies the condition.
b. If , then for all , thus , hence , which means for some and . Indeed, then the function satisfies the condition.
Final answer
Exactly the following sequences are good: 1) Two-periodic sequences: a_i equals c_0 for even indices and c_1 for odd indices (c_0 and c_1 may be equal). A valid choice is f(n) = 1 if n divides c_0 − c_1, and f(n) = 2 otherwise. 2) Arithmetic progressions: a_i = k i + c for fixed integers k and c. A valid choice is f(n) = n / gcd(n, k).
Techniques
Greatest common divisors (gcd)Recurrence relations