Let $f:\mathbb{Z}\to\mathbb{Z}$ be a function such that for all $x,y,m\in\mathbb{Z}$ $$x\equiv y \pmod m \implies f(x)\equiv f(y) \pmod m.$$ Or in other terms $$f(x) \text{ mod } m = f(x \text{ mod } m) \text{ mod } m$$ My question is
- Does this property have a name?
- One example of such functions are polynomials with coefficients in $\mathbb{Z}$. Are there any other examples? Is there some classification?