An octagonal pentagonal number is a number which is simultaneously an octagonal number and a pentagonal number. Let
denote the
th
octagonal number and
the
th pentagonal number,
with positive integers
and
.
The equation
is equivalent to
|
(1)
|
Completing the square and rearranging gives
|
(2)
|
Defining
and
gives the Pell-like equation
|
(3)
|
The first few positive integer solutions are , (5, 4), (11, 8), (31, 22), (65, 46), ....
These give the candidate index pairs
,
(1, 1), (5/3, 2), (4, 16/3), (8, 11), ..., of which the pairs of positive
integers begin (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).