another equality of two functions

58 Views Asked by At

In one of my previous posts (see here proving equality of two functions.) I asked if. $f,g$ are two functions from $\mathbb{N}\rightarrow \mathbb{N}$ satisfying $f•g=g+1$ and $g•f=f+1$ then $f\neq g$ in general. Suppose I tweak the conditions a little bit Say we have $$f(g(n))=f(n)+1$$ and $$g(f(n))=g(n)+1$$ what happens now ? Is $f=g$ ?