Pseudocode pattern problem

1
232
34543
4567654
567898765