TOPICS
Search

Octagonal Pentagonal Number


A number which is simultaneously octagonal and pentagonal. Let O_n denote the nth octagonal number and P_m the mth pentagonal number, then a number which is both octagonal and pentagonal satisfies the equation O_n=P_m, or

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

Completing the square and rearranging gives

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

Therefore, defining

x=(6m-1)
(3)
y=2(3n-1)
(4)

gives the Pell equation

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

The first few solutions are (x,y)=(1,2), (5, 4), (11, 8), (31, 22), (65, 46), .... These give the solutions (n,m)=(1/3,2/3), (1, 1), (2, 5/3), (16/3, 4), (11, 8), ..., of which the integer solutions are (1, 1), (11, 8), (1025, 725), (12507, 8844), ... (OEIS A046187 and A046188), 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 A046188 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 Web Resource. https://mathworld.wolfram.com/OctagonalPentagonalNumber.html

Subject classifications