Please help me to produce this matrix with LaTeX. I tried this:
\documentclass{article} \usepackage{amsmath} \usepackage{mleftright} \begin{document} [ \renewcommand\arraystretch{1.3} \mleft[ \begin{array}{c|c|c|c} \ 0 2 2 \dots 2 \\ 202\dots2 \\ \\ \\ \\ 222 \dots 0 & 111 & \dots & 11 \\ \hline \ 111\dots 1 \\ 111\dots 1 \\ 111 \dots 1 & 022 \ & \dots & 11 \\ \end{array} \mright] ] \end{document} But it doesn't come out exactly right.

