TOPICS
Search

Octagonal Heptagonal Number


An octagonal heptagonal number is a number which is simultaneously octagonal and heptagonal. Let O_m denote the mth octagonal number and H_n the nth heptagonal number, for positive integers m and n. A number which is both octagonal and heptagonal satisfies the equation H_n=O_m, or

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

Completing the square and rearranging gives

 3(10n-3)^2-40(3m-1)^2=-13.
(2)

This gives the second-order Diophantine equation

 3x^2-10y^2=-13,
(3)

where x=10n-3 and y=2(3m-1). The first few positive integer solutions are (x,y)=(3,2), (7, 4), (73, 40), (157, 86), .... Selecting the pairs that give positive integer indices yields (n,m)=(1,1), (345, 315), (166145, 151669), ... (OEIS A048904 and A048905), corresponding to the octagonal heptagonal numbers 1, 297045, 69010153345, ... (OEIS A048906).


See also

Heptagonal Number, Octagonal Number

Explore with Wolfram|Alpha

References

Sloane, N. J. A. Sequences A048904, A048905, and A048906 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Octagonal Heptagonal Number

Cite this as:

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

Subject classifications