Number-Pattern-5 exmaple: for height = 4, the pattern is: 1 1 2 1 2 3 1 2 3 4 You can also view other Patterns Here