This is LaTeX code:

[latex]
a_{n+1} = a_n + 4^n \\
a_1 = 2 \\
\Longrightarrow a_n = \frac{4^n - 1}{3} + 1
[/latex]