This is LaTeX code:

[latex]
a_n = \left\{ \begin{array}{rcl} 0, & n=0 \\ \frac{17}{2}, & n=2 \\ \frac{7^{n-1}}{(n-1)!}, & n \neq 0, & n \neq 2 \end{array}\right.
[/latex]