login
A344376
Numbers that are both octagonal numbers (A000567) and octagonal pyramidal numbers (A002414).
4
0, 1, 1045, 5985, 123395663059845, 774611255177760
OFFSET
1,3
COMMENTS
Terms correspond to integral points on an elliptic curve, which allows all of them to be found efficiently. - Max Alekseyev, Feb 19 2024
PROG
(PARI) for(k=0, 1e5, if(ispolygonal(m=k*(k+1)*(2*k-1)/2, 8), print1(m", ")))
CROSSREFS
Intersection of A000567 and A002414.
Sequence in context: A345767 A324320 A334012 * A023067 A344410 A110597
KEYWORD
nonn,fini,full
AUTHOR
Seiichi Manyama, May 16 2021
EXTENSIONS
Keywords 'fini' and 'full' added by Max Alekseyev, Feb 19 2024
STATUS
approved