# Polygonal number

Jump to: navigation, search

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.

## Definition and examples

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.

### Square numbers

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.

## Formula

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

$P(s,n) = \frac{n^2(s-2)-n(s-4)}{2}$

or

$P(s,n) = (s-2)\frac{n(n-1)}{2}+n$

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

$P(s,n) = (s-2)T_{n-1} + n = (s-3)T_{n-1} + T_n\, .$

Thus:

$P(s,n+1)-P(s,n) = (s-2)n + 1\, ,$
$P(s+1,n) - P(s,n) = T_{n-1} = \frac{n(n-1)}{2}\, .$

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

$n = \frac{\sqrt{8(s-2)x+(s-4)^2}+(s-4)}{2(s-2)}.$

## Table of values

s Name Formula n = 1 n = 2 n = 3 n = 4 n = 5 n = 6 n = 7 n = 8 n = 9 n = 10 Sum of Reciprocals[1] OEIS number
3 Triangular ½(n²+n) 1 3 6 10 15 21 28 36 45 55 ${2}$ A000217
4 Square n² 1 4 9 16 25 36 49 64 81 100 ${\pi^2\over6}$ A000290
5 Pentagonal ½(3n² - n) 1 5 12 22 35 51 70 92 117 145 ${ 3\ln\left(3\right)}-{\pi\sqrt{3}\over3 }$ A000326
6 Hexagonal ½(4n² - 2n) 1 6 15 28 45 66 91 120 153 190 ${ 2\ln\left(2\right) }$ A000384
7 Heptagonal ½(5n² - 3n) 1 7 18 34 55 81 112 148 189 235 $\begin{matrix} \frac{1}{15}{\pi}{\sqrt{25-10\sqrt{5}}}+\frac{2}{3}\ln(5) \\ +\frac{{1}+\sqrt{5}}{3}\ln\left(\frac{1}{2}\sqrt{10-2\sqrt{5}}\right) \\ +\frac{{1}-\sqrt{5}}{3}\ln\left(\frac{1}{2}\sqrt{10+2\sqrt{5}}\right) \end{matrix}$[2] A000566
8 Octagonal ½(6n² - 4n) 1 8 21 40 65 96 133 176 225 280 ${ {3\ln\left(3\right)\over4} + {\pi\sqrt{3}\over12} }$ A000567
9 Nonagonal ½(7n² - 5n) 1 9 24 46 75 111 154 204 261 325 A001106
10 Decagonal ½(8n² - 6n) 1 10 27 52 85 126 175 232 297 370 ${ {\ln\left(2\right)} + {\pi\over6} }$ A001107
11 Hendecagonal ½(9n² - 7n) 1 11 30 58 95 141 196 260 333 415 A051682
12 Dodecagonal ½(10n² - 8n) 1 12 33 64 105 156 217 288 369 460 A051624
13 Tridecagonal ½(11n² - 9n) 1 13 36 70 115 171 238 316 405 505 A051865
14 Tetradecagonal ½(12n² - 10n) 1 14 39 76 125 186 259 344 441 550 ${ {2\ln\left(2\right)\over5} + {3\ln\left(3\right)\over 10} + {\pi\sqrt{3}\over10} }$ A051866
15 Pentadecagonal ½(13n² - 11n) 1 15 42 82 135 201 280 372 477 595 A051867
16 Hexadecagonal ½(14n² - 12n) 1 16 45 88 145 216 301 400 513 640 A051868
17 Heptadecagonal ½(15n² - 13n) 1 17 48 94 155 231 322 428 549 685 A051869
18 Octadecagonal ½(16n² - 14n) 1 18 51 100 165 246 343 456 585 730 A051870
19 Nonadecagonal ½(17n² - 15n) 1 19 54 106 175 261 364 484 621 775 A051871
20 Icosagonal ½(18n² - 16n) 1 20 57 112 185 276 385 512 657 820 A051872
21 Icosihenagonal ½(19n² - 17n) 1 21 60 118 195 291 406 540 693 865 A051873
22 Icosidigonal ½(20n² - 18n) 1 22 63 124 205 306 427 568 729 910 A051874
23 Icositrigonal ½(21n² - 19n) 1 23 66 130 215 321 448 596 765 955 A051875
24 Icositetragonal ½(22n² - 20n) 1 24 69 136 225 336 469 624 801 1000 A051876
10000 Myriagonal ½(9998n² - 9996n) 1 10000 29997 59992 99985 149976 209965 279952 359937 449920 A167149

The On-Line Encyclopedia of Integer Sequences eschews terms using Greek prefixes (e.g., "octagonal") in favor of terms using numerals (i.e., "8-gonal").

## Combinations

Some numbers, such as 36 which is both square and triangular, fall into two polygonal sets. The problem of determining, given two such sets, all numbers that belong to both can be solved by reducing the problem to Pell's equation. The simplest example of this is the sequence of square triangular numbers.

The following table summarizes the set of s-gonal t-gonal numbers for small values of s and t.

14 4 1,441 ,4239481,40707501121,390873421529361, ... 30 4 1,203401,1819801,

s t Sequence OEIS number
4 3 1, 36, 1225, 41616, 1413721, 48024900, 1631432881 , 55420693056, 1882672131025, 63955431761796, 2172602007770041 ... A001110
5 3 1, 210, 40755, 7906276, … A014979
5 4 1, 9801, 94109401, 903638458801, ... A036353
6 3 All hexagonal numbers are also triangular. A000384
6 4 1, 1225, 1413721, 1631432881, … A046177
6 5 1, 40755, 1533776805, … A046180
7 3 1, 55, 121771, 5720653, … A046194
7 4 1, 81, 5929, 2307361, … A036354
7 5 1, 4347, 16701685, 64167869935, … A048900
7 6 1, 121771, 12625478965, … A048903
8 3 1, 21, 11781, 203841, … A046183
8 4 1, 225, 43681, 8473921, … A036428
8 5 1, 176, 1575425, 234631320, … A046189
8 6 1, 11781, 113123361, … A046192
8 7 1, 297045, 69010153345, … A048906
9 3 1, 325, 82621, 20985481, … A048909
9 4 1, 9, 1089, 8281, 978121, … A036411
9 5 1, 651, 180868051, … A048915
9 6 1, 325, 5330229625, … A048918
9 7 1, 26884, 542041975, … A048921
9 8 1, 631125, 286703855361, … A048924

In some cases, such as s=10 and t=4, there are no numbers in both sets other than 1.

The problem of finding numbers that belong to three polygonal sets is more difficult. A computer search for pentagonal square triangular numbers has yielded only the trivial value of 1, though a proof that there are no such number has yet to appear in print.[3]

The number 1225 is hecticositetragonal (s=124), hexacontagonal (s=60), icosienneagonal (s=29), hexagonal, square, and triangular.