The diagram below portrays the cumulative number of balls for the six smallest pyramids. In each pyramid, the layers are square arrangements of balls. The top layer is a single ball; the next layer down is a 2 × 2 square; the next layer a 3 × 3 square; and so on.