\begin{gather*} S = \sum_{k=0}^{\infty} {x^k} = \frac{1}{1-x} \end{gather*}
in-context