Write $B = \begin{bmatrix}1&2&3\\0&1&4\\0&0&1\end{bmatrix}$ as a product of elementary matrices.
Kanishak Aggarwal, AIR 72, 2025
$B = 1e_1 + 2e_2 + 3e_3 + 1e_5 + 4e_6 + e_9$
$e_i = \begin{bmatrix} a_{in} \end{bmatrix} \begin{cases} a_i \neq 0 & \text{if } n = i \\ a_i = 0 & \text{if } n \neq i \end{cases}$