This question was motivated by this one. Let $f:\mathbb{R}\rightarrow\mathbb{R}$ be a continuous function. Define $f^n(x)=f\circ f\circ\cdot\cdot\cdot\circ f$, $n$ times, $f^0(x)=x$ and $k\geq 2$ a integer. Suppose that $f$ satisfies the equation: $$\tag{1}\sum_{n=0}^k(-1)^n\binom{k}{k-n}f^{k-n}(x)=0$$
Note that for each fixed $a\in\mathbb{R}$, $f_a(x)=x+a$ satisfies $(1)$. Are the only solutions of $(1)$ of the form $f_a$ for some $a$? Also note that $f_a$ is an solution of the equation $$\tag{2}(f-I)^k(x)=a$$
The same question applies here: Is the only solution of $(2)$ of the form $f_a$? If we let $a$ vary in $(2)$, we get a family of equations. Is that family of equations equivalently to $(1)$?
Consider a case $k = 2$: $$f(f(x)) - 2f(x) + x = 0$$ Let $f(x) = x + g(x)$, then $$g(x) = g(x + g(x))$$ For example, $$g(\frac{x}{n}) = g(\frac{x}{n} + g(\frac{x}{n})) = ... = g(x + g(\frac{x}{n}))$$
Assuming that $g$ is contiguous at $0$, $g(x + g(0)) = g(0)$ for any $x$, that is, $g$ is a constant indeed. The similar mechanics works for other $k$ as well.
I don't know how to approach it without a contiguity assumption.