
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, an octagonal number is a
figurate number
The term figurate number is used by different writers for members of different sets of numbers, generalizing from triangular numbers to different shapes (polygonal numbers) and different dimensions (polyhedral numbers). The ancient Greek mathemat ...
. The ''n''th octagonal number ''o''
''n'' is the number of dots in a pattern of dots consisting of the outlines of regular octagons with sides up to ''n'' dots, when the octagons are overlaid so that they share one
vertex. The octagonal number for ''n'' is given by the formula 3''n''
2 − 2''n'', with ''n'' > 0. The first few octagonal numbers are
:
1,
8,
21,
40,
65,
96,
133,
176
Year 176 ( CLXXVI) was a leap year starting on Sunday of the Julian calendar. At the time, it was known as the Year of the Consulship of Proculus and Aper (or, less frequently, year 929 ''Ab urbe condita''). The denomination 176 for this year ha ...
,
225
__NOTOC__
Year 225 ( CCXXV) was a common year starting on Saturday of the Julian calendar. At the time, it was known as the Year of the Consulship of Fuscus and Domitius (or, less frequently, year 978 ''Ab urbe condita''). The denomination 225 ...
,
280, 341, 408, 481, 560, 645, 736, 833, 936
The octagonal number for ''n'' can also be calculated by adding the square of ''n'' to twice the (''n'' − 1)th
pronic number
A pronic number is a number that is the product of two consecutive integers, that is, a number of the form n(n+1).. The study of these numbers dates back to Aristotle. They are also called oblong numbers, heteromecic numbers,. or rectangular number ...
.
Octagonal numbers consistently alternate
parity.
Octagonal numbers are occasionally referred to as "
star number
In mathematics, a star number is a centered figurate number, a centered hexagram (six-pointed star), such as the Star of David, or the board Chinese checkers is played on.
The ''n''th star number is given by the formula ''Sn'' = 6''n''(''n' ...
s", though that term is more commonly used to refer to centered dodecagonal numbers.
Applications in combinatorics
The
th octagonal number is the number of
partitions of
into 1, 2, or 3s. For example, there are
such partitions for
, namely
:
,1,1,1,1,1,1 ,1,1,1,1,2 ,1,1,1,3 ,1,1,2,2 ,1,2,3 ,2,2,2 ,3,3and
,2,3
The comma is a punctuation mark that appears in several variants in different languages. Some typefaces render it as a small line, slightly curved or straight, but inclined from the vertical; others give it the appearance of a miniature fille ...
Sum of reciprocals
A formula for the
sum of the reciprocals of the octagonal numbers is given by
Test for octagonal numbers
Solving the formula for the ''n''-th octagonal number,
for ''n'' gives
An arbitrary number ''x'' can be checked for octagonality by putting it in this equation. If ''n'' is an integer, then ''x'' is the ''n''-th octagonal number. If ''n'' is not an integer, then ''x'' is not octagonal.
See also
*
Centered octagonal number
A centered octagonal number is a centered number, centered figurate number that represents an octagon with a dot in the center and all other dots surrounding the center dot in successive octagonal layers.. The centered octagonal numbers are th ...
References
Figurate numbers
{{num-stub