I've been trying to create a matrix (displayed in the image below), and I haven't been able to figure out so far.

I've tried the following code (as an example), but its not quite the same as you can see in the image. Can someone please guide me about this?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{blkarray}
\begin{document}
[
\begin{blockarray}{ccccc}
a & b & c & d & e \
\begin{block}{(ccccc)}
1 & 1 & 1 & 1 & 1 \
0 & 1 & 0 & 0 & 1 \
0 & 0 & 1 & 0 & 1 \
0 & 0 & 0 & 1 & 1 \
0 & 0 & 0 & 0 & 1 \
\end{block}
\end{blockarray}
]
\end{document}


\dots? The math font? – Mico Feb 04 '21 at 05:17\bordermatrixwith brackets[ ]instead of parentheses – barbara beeton Feb 04 '21 at 21:03