Fuente TeX:
a_n = \frac{1}{2}\cdot 2^n + 2 \cdot 1^n