This is LaTeX code:
[latex]
4 + \frac{1}{1 - p}
[/latex]