Octagonal Number

An octagonal number is a figurate number that represents an octagon. The octagonal number for n is given by the formula 3n2 - 2n, with n > 0. The first few octagonal numbers are:

1, 8, 21, 40, 65, 96, 133, 176, 225, 280, 341, 408, 481, 560, 645, 736, 833, 936 (sequence A000567 in OEIS)

Octagonal numbers can be formed by placing triangular numbers on the four sides of a square. To put it algebraically, the nth octagonal number is

which simplifies to the formulas given above.

The octagonal number for n can also be calculated by adding the square of n to twice the (n - 1)th pronic number, or, to put it algebraically, .

Octagonal numbers consistently alternate parity.

Octagonal numbers are occasionally referred to as "star numbers," though that term is more commonly used to refer to centered dodecagonal numbers.

Famous quotes containing the word number:

    There is not to be found, in all history, any miracle attested by a sufficient number of men, of such unquestioned good sense, education, and learning, as to secure us against all delusion in themselves ... beyond all suspicion of any design to deceive others ... and at the same time attesting facts, performed in such a public manner, and in so celebrated a part of the world, as to render the detection unavoidable.
    David Hume (1711–1776)