Does there exist a twice differentiable function $f: \mathbb{R} \rightarrow \mathbb{R}$ such that
$$f'(x) = f(x+1)-f(x)$$ for all $x$ and $f''(0) \ne 0$.
Some things that I have tried is that obviously any linear function satisfies the first condition but not the second. Any hints/motivation would be helpful. Thanks.
Since the question is about existence: you can think of the right side as a difference quotient. $$f^{'}(x) =\frac{f(x+1)-f(x)}{(x+1)-x}.$$ The right hand side is a slope of the secant line between the points with $x-$coordinates $x$ and $x+1$. So any affine function (with non-zero slope and non-zero constant term) will satisfy this relation. For sure they are twice differentiable.
By affine I mean: $f(x)=ax+b$