(This question is inspired by a question about remainders of binomial coefficients I asked recently.)
Consider the polynomial maps $f:\ \mathbb{Z} \to \mathbb{Z}$. These include the polynomials with integer coefficients, but also functions like $f(x) = \frac{x(x-1)}{2} = \binom{x}{2}$. One can show that any such polynomial map $\mathbb{Z} \to \mathbb{Z}$ is a $\mathbb{Z}$-linear combination of the polynomials $\binom{x}{d}$ for $d \in \mathbb{N}$. I am interested in polynomial maps which take on all residues modulo all integers. More precisely, a polynomial $f$ is interesting for me if for any integer $m \geq 2$ and for any integer $0 \leq r < m$ there exists an integer $n$ with $f(n) \equiv r \pmod{m}$. One such polynomial is $f(x) = x$.
As explained in the mentioned other questions, polynomials $f(x) = x^d$ don't have the aforementioned property (for $d > 1$). I had a (naive) hope that the polynomials ${x \choose d}$ would do the trick, but they don't work either.
After some more thought, I discovered that degree $2$ polynomials can never work. This is because for $f(x) = ax^2 +bx +c$ the condition $f(n) \equiv r \pmod{p}$ can be rewritten as $$\left(n+\frac{b}{2a}\right)^2 \equiv \frac{1}{a}\left(r-c+\frac{b^2}{4a}\right) \pmod{p}$$ (assuming numerators and denumerators of $a,b,c$ are coprime to $p$). Hence, $f(n)$ does not have the residue $r$ if $p$ is large enough and $\frac{1}{a}\left(r-c+\frac{b^2}{4a}\right)$ is not a quadratic residue modulo $p$.
This leaves me doubtful about polynomials of higher degrees. I can't think of a general argument or an example of an interesting polynomial, though.
Question: Does there exist a polynomial map $f:\ \mathbb{Z} \to \mathbb{Z}$, different than $f(x) = x$, with the aforementioned property that for any integer $m \geq 2$ and for any integer $0 \leq r < m$ there exists an integer $n$ with $f(n) \equiv r \pmod{m}$.