Is there a function $f:\mathbb{Z}\rightarrow\mathbb{Z}$ such that $f(f(x))=x+1$? If so, can you give an example?
2026-04-06 06:30:54.1775457054
Is there a function $f:\mathbb{Z}\rightarrow\mathbb{Z}$ such that $f(f(x))=x+1$?
194 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
No. Assume such $f$ exists and $f(0)=n_0$. Since $f(f(f(x)))=f(x+1)$ and $f(f(f(x)))=f(x)+1$. Thus, $f(x+1)=f(x)+1$. Thus, $f(n)=n_0+n$ for $n\in \mathbb{Z}$.
If,$n_0>0$, then $f(n)>n\Rightarrow f(n)\geqslant n+1\Rightarrow f(f(n))\geqslant f(n)+1\geqslant n+1+1=n+2>n+1 \Rightarrow\Leftarrow$.
If,$n_0\leqslant 0$, then $f(n)\leqslant n\Rightarrow f(f(n))\leqslant f(n)\leqslant n<n+1 \Rightarrow\Leftarrow$.
The last two steps can be simplified: $n+1=f(f(n))=f(n)+n_0=n+2n_0\Rightarrow 2n_0=1\Rightarrow\Leftarrow$.