\[s_{n}=\sum_{k=0}^{n}a_{k}.\]