This is LaTeX code:

[latex]
N_n=24 \cdot 9^{n-2}\ \forall n \in \mathbb{N} \setminus \left\{1\right\}
[/latex]