BMO2 2018 Q4
Let \(f\) be a function defined on the real numbers and taking real values. We say that \(f\) is absorbing if \(f(x) \le f(y)\) whenever \(x \le y\) and \(f^{2018}(z)\) is an integer for all real numbers \(z\).
a) Does there exist an absorbing function \(f\) such that \(f(x)\) is an integer for only finitely many values of \(x\)?
b) Does there exist an absorbing function \(f\) and an increasing sequence of real numbers \(a_1 < a_2 < a_3 < \ldots\) such that \(f(x)\) is an integer only if \(x = a_i\) for some \(i\)?
Note that if \(k\) is a positive integer and \(f\) is a function, then \(f^k\) denotes the composition of \(k\) copies of \(f\). For example \(f^3(t) = f(f(f(t)))\) for all real numbers \(t\).
British Mathematical Olympiad Round 2 2018, Question 4. © UK Mathematics Trust. Original paper on ukmt.org.uk