>315
Σ[k=0,n]a[k]=S[n]
a[n+1]=S[n+1]-S[n]