TeX source:
S_n \rightarrow \dfrac{g_1}{1 - r}