TeX source:
\begin{array}{ll} a_1 = 2 \\ a_n = 2a_{n-1}+1, \text { for } n \geq 2 \end{array}