\documentclass{article}


\usepackage{amsmath}

\begin{document}

\[
  \begin{pmatrix}
    1 \\ 0 & 2 \\ & 0 & 3
  \end{pmatrix}
\]

\end{document}
