Problem

Source: Romanian ROM TST 2004, problem 3, created by Cristi Mortici

Tags: induction, function, algebra proposed, algebra



Find all one-to-one mappings $f:\mathbb{N}\to\mathbb{N}$ such that for all positive integers $n$ the following relation holds: \[ f(f(n)) \leq \frac {n+f(n)} 2 . \]