This is LaTeX code:
[latex]
\begin{pmatrix} n+r-1 \\ r \end{pmatrix}
[/latex]