Mathjax

Mathjax

Input:

f(n) =
\begin{cases}
\frac{n}{2},  & \text{if $n$ is even} \\[2ex]
3n+1, & \text{if $n$ is odd}  \\
\end{cases}

Output:

Inline Mathjax

Input:

The answser is `$a^2 + b^2 = c^2$`.

Output:

The answser is .