Find all functions $f:\mathbb{R}\rightarrow\mathbb{R}$ s.t. $f(x+1)-2f(x)+f(x-1)=x+1$, $f(0)=0$, and $f(1)=1$.
The problem is stated above. My attempt to solve this question is to plug in $x=0$, and $x=1$. That gives us $f(-1)=0$ and $f(2)=4$. Plugging in $x=2$ can give us $f(3)=10$. After that we can also get $f(4)=20$, $f(5)=35$...etc. I observed the sequence $0,1,4,10,20,35,...$ and found that these numbers are tetrahedral numbers, so the function we want may look like this:
$f(x)=\frac{x(x+1)(x+2)}{6}$
However, by plugging in different integer values, and using mathematical induction can only confirm that the function we want is valid within $\mathbb{Z}$. I don't know if there's a way to expand the domain from $\mathbb{Z}$ to $\mathbb{R}$.