A polygonal number is a natural number such that dots can be arrranged in an array shaped like a regular triangle, square, etc. In general, any -gonal number is equal to the sum of the -gonal number of the same rank and the triangular number of the previous rank. The diagram graphically illustrates how the addition works.