Problem #31






A collection of balls is stacked as follows. The top layer consists of 2 balls, the second layer consists of a 2 x 3 rectangular array of balls, the third a 3 x 4 array, etc. The balls in one row sit in the "dimples" in the row beneath. The first three layers are shown in the figure below: