Skip to main content
OlympiadHQ

Browse · MathNet

Print

Team Selection Test for EGMO 2024

Turkey 2024 number theory

Problem

Find all functions such that the following conditions hold: (i) for all positive integers , (ii) for all . Note. is the Euler's totient function: is the total number of positive integers not exceeding and co-prime with .
Solution
Answer: and . By putting to we get and hence . By putting we get and since we get that either is either 1 or 2.

Case 1: . Since we get that is either 1 or 2. But since we get that . By induction we show that for all positive integers . Assume that for all . Then since and we get and hence is either 1 or 2. Finally again since we get that . Done.

Case 2: . By induction we show that for all positive integers . Assume that for all . By the first condition and by inductive hypothesis for each we have or equivalently . Therefore, for each integer we have . Hence the common divisor of all integers also divides ; , where is integer. Then since by the second condition and by inductive hypothesis . On the other hand, since each integer with and divides we have . Therefore, . If then and hence we get that . This contradiction shows that and . Done.
Final answer
f(x) = 1 for all x, and f(x) = x for all x

Techniques

φ (Euler's totient)Least common multiples (lcm)Greatest common divisors (gcd)Functional EquationsInduction / smoothing