TOPICS
Search

Octagonal Pentagonal Number


An octagonal pentagonal number is a number which is simultaneously an octagonal number and a pentagonal number. Let O_n denote the nth octagonal number and P_m the mth pentagonal number, with positive integers n and m. The equation O_n=P_m is equivalent to

 n(3n-2)=1/2m(3m-1).
(1)

Completing the square and rearranging gives

 (6m-1)^2-8(3n-1)^2=-7.
(2)

Defining x=6m-1 and y=2(3n-1) gives the Pell equation

 x^2-2y^2=-7.
(3)

The first few positive solutions are (x,y)=(1,2), (5, 4), (11, 8), (31, 22), (65, 46), .... These give the solutions (n,m)=(2/3,1/3), (1, 1), (5/3, 2), (4, 16/3), (8, 11), ..., of which the integer solutions are (1, 1), (8, 11), (725, 1025), (8844, 12507), ... (OEIS A046188 and A046187), corresponding to the octagonal pentagonal numbers 1, 176, 1575425, 234631320, 2098015778145, ... (OEIS A046189).


See also

Octagonal Number, Pentagonal Number

Explore with Wolfram|Alpha

References

Sloane, N. J. A. Sequences A046187, A046188, and A046189 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Octagonal Pentagonal Number

Cite this as:

Weisstein, Eric W. "Octagonal Pentagonal Number." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/OctagonalPentagonalNumber.html

Subject classifications