I try to solve this question : Find all function $f:\mathbb{N}\cup\{0\}\longrightarrow \mathbb{N}\cup\{0\}$ such that $\forall x\in\mathbb{N}\cup\{0\}, f(x+1)+1 = f(f(x)+1)$.
My attempt : By induction, we obtain $$\tag1\forall x, k\in\mathbb{N}\cup\{0\}, f(x+k)+1 = f^{x}(f(k)+1)$$ and $$\tag2\forall k\in\mathbb{N}\cup\{0\}, f(x+1)+k = f(f^{k}(x)+1).$$
Since $\forall x\in\mathbb{N}\cup\{0\}, f(x+1)+1 = f(f(x)+1)$, if $f(x) = f(y)$ then $f(x+1) = f(y+1)$. From $(2)$, we know the image of $f$ is infinite. So $f$ is injective.
From $(2)$, we have $f(f^{k}(f(x)+1)+1) = f(f(x)+2)+k$. From $(1)$, we also have $f(f^{k}(f(x)+1)+1) = f(f^{x+k}(f(0)+1)+1)$ then form $(2)$, $f(f^{x+k}(f(0)+1)+1) = f(f(0)+2)+x+k$. So we have $$\tag3\forall x, k\in\mathbb{N}\cup\{0\}, f(f(x)+2)+k = f(f(0)+2)+x+k.$$
From $(3)$, we have $$\tag4\forall x\in\mathbb{N}\cup\{0\}, f(f(x)+2) = x + f(f(0)+2).$$ Substitute $f(x)+2$ for $x$ in $(4)$, we have $$\tag5\forall x\in\mathbb{N}\cup\{0\}, f(x+m) = f(x)+m,$$ where $m = f(f(0)+2)+2$.
Since $f$ is injective, if $m|f(x)-f(y)$, then $f(x)-f(y) = x-y$.
This question is from concours SMF junior 2020 https://smf.emath.fr/evenements-smf/annonce-concours-smf-junior-2020