This is LaTeX code:
[latex]
\displaystyle\frac{a^x-1}{x}
[/latex]