Given a polynomial $f(x)$ of degree $k$ on field $\mathbb{F}$, one can find a polynomial $S_f(x)$ of degree $\leq k+1$ such that for each positive integer $n$, $$ S_f(n)=\sum_{j=0}^{n-1}f(j). $$
There exists such a polynomial that the condition holds for $n=1,\cdots,k+2$. But how to prove for each $n\geq1$, the condition also holds?