This is LaTeX code:
[latex]
1-\frac{3^n}{6^n}
[/latex]