Problem

Source: 239 MO 2024 S1

Tags: function, algebra



Let $f:\mathbb{R}_{\geq 0} \rightarrow \mathbb{R}_{\geq 0}$ be a continuous function such that $f(0)=0$ and $$f(x)+f(f(x))+f(f(f(x)))=3x$$for all $x>0$. Show that $f(x)=x$ for all $x>0$.