An octagonal number is a polygonal number of the form , where
is a positive integer.
The first few are 1, 8, 21, 40, 65, 96, 133, 176, ... (OEIS A000567).
The generating function for the octagonal
numbers is
for .
An octagonal number is a polygonal number of the form , where
is a positive integer.
The first few are 1, 8, 21, 40, 65, 96, 133, 176, ... (OEIS A000567).
The generating function for the octagonal
numbers is
for .
Weisstein, Eric W. "Octagonal Number." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/OctagonalNumber.html