In mathematics, a decagonal number is a figurate number that extends the concept of triangular and square numbers to the decagon (a ten-sided polygon). However, unlike the triangular and square numbers, the patterns involved in the construction of decagonal numbers are not rotationally symmetrical. Specifically, the n-th decagonal numbers counts the dots in a pattern of n nested decagons, all sharing a common corner, where the ith decagon in the pattern has sides made of i dots spaced one unit apart from each other. The n-th decagonal number is given by the following formula
The first few decagonal numbers are:
The nth decagonal number can also be calculated by adding the square of n to thrice the (n−1)th pronic number or, to put it algebraically, as