After some calculations, I came up with this functional equation: $f(x-1)+f(x+1)=2f(x)$. I found linear function is one possible answer, but don't know how to derive it.
I don't know much about the techniques to solve this kind of equation. Can anyone help?
Edited: $f$ is a probability function, that is $0 \leq f \leq 1$, and $f$ is continuous.