*** Welcome to piglix ***

Polygonal number


In mathematics, a polygonal number is a number represented as dots or pebbles arranged in the shape of a regular polygon. The dots are thought of as alphas (units). These are one type of 2-dimensional figurate numbers.

The number 10 for example, can be arranged as a triangle (see triangular number):

But 10 cannot be arranged as a square. The number 9, on the other hand, can be (see square number):

Some numbers, like 36, can be arranged both as a square and as a triangle (see square triangular number):

By convention, 1 is the first polygonal number for any number of sides. The rule for enlarging the polygon to the next size is to extend two adjacent arms by one point and to then add the required extra sides between those points. In the following diagrams, each extra layer is shown as in red.

Polygons with higher numbers of sides, such as pentagons and hexagons, can also be constructed according to this rule, although the dots will no longer form a perfectly regular lattice like above.

If s is the number of sides in a polygon, the formula for the nths-gonal number P(s,n) is

or

The nths-gonal number is also related to the triangular numbers Tn as follows:

Thus:

For a given s-gonal number P(s,n) = x, one can find n by

Applying the formula above:

to the case of 6 sides gives:

but since:

it follows that:

This shows that the hexagonal number, is the triangular number, . We can find every hexagonal number by simply taking the odd-numbered triangular numbers:


...
Wikipedia

...