Solutions of problems B
B. 3429. Let , and let be a function, such that for all positive integers n,

Prove that f(f(n))= f(n)+n.
Solution. As , obviously f(0)=0. For any other n, the value of f is a positive integer, otherwise f(n)=0<n would imply and hence , which is impossible. It is easy to check, furthermore, that . Thus for any natural number n,
|f(f(n))- f(n)-n| = |f (f(n))- qf(n)+(q-1) f(n)- q(q-1)n| = = |f (f(n))- qf(n)+ (q-1) (f(n)-qn)|.
As the inequality |a+b| |a|+|b| holds for all real numbers a, b, the above absolute value can be at most
|f (f(n))-qf(n)|+ | (q-1) (f(n)-qn)|= |f(f(n))-qf(n)|+ (q-1) |f(n)-qn|,
which is less than according to the condition. Hence
|f(f(n))- f(n)-n|<1,
which can only happen if f(f(n))- f(n)-n=0, as f(f(n)), f(n) and n are integers.
G. Bóka, Szolnok
|