# partial sums of sequences

geometric sum for $a=\frac12$ where $\sum_{j=0}^na^j=\frac{a^{n+1}-1}{a-1}.$