Suffix sum (source code)

= Suffix sum
{title2=$S_i=\sum_{j=i}^{n-1}a_j$}