Hello Experts!

I am new to this forum.
Could you please tell me how this multi-dimensional array works? How it corresponds to differents style of outputs format like triangle shape of elements...