TOPICS
Search

Octagonal Hexagonal Number


An octagonal hexagonal number is both an octagonal number and a hexagonal number. Let O_n denote the nth octagonal number and H_m the mth hexagonal number, for positive integers m and n. The indices satisfy the equation O_n=H_m, or

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

Completing the square and rearranging gives

 8(3n-1)^2-3(4m-1)^2=5.
(2)

This gives the Pell-like equation

 2x^2-3y^2=5,
(3)

where x=2(3n-1) and y=4m-1. The first few positive integer solutions are (x,y)=(2,1), (4, 3), (16, 13), (38, 31), (158, 129), (376, 307), .... These give the candidate index pairs (n,m)=(2/3,1/2), (1, 1), (3, 7/2), (20/3, 8), (80/3, 65/2), (63, 77), ..., of which the pairs of positive integers begin (1, 1), (63, 77), (6141, 7521), (601723, 736957), ... (OEIS A046190 and A046191), corresponding to the octagonal hexagonal numbers 1, 11781, 113123361, 1086210502741, ... (OEIS A046192).


See also

Hexagonal Number, Octagonal Number, Octagonal Pentagonal Number, Octagonal Square Number, Octagonal Triangular Number

Explore with Wolfram|Alpha

References

Sloane, N. J. A. Sequences A046190, A046191, and A046192 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Octagonal Hexagonal Number

Cite this as:

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

Subject classifications