Explain the given pattern in java with code

1
2 2
3 0 3
4 0 0 4
5 0 0 0 5