login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A307801
Number of palindromic octagonal numbers with exactly n digits.
2
3, 0, 0, 1, 0, 0, 0, 0, 4, 0, 0, 2, 3, 1, 0, 1, 0, 0, 1, 0
OFFSET
1,1
COMMENTS
Number of terms in A057107 with exactly n digits.
LINKS
G. J. Simmons, Palindromic powers, J. Rec. Math., 3 (No. 2, 1970), 93-98. [Annotated scanned copy] See page 95.
EXAMPLE
There is only one 4 digit octagonal number that is palindromic, 8008. Thus, a(4)=1.
MATHEMATICA
A057107 = {0, 1, 8, 8008, 120232021, 124060421, 161656161, 185464581, 544721127445, 616947749616, 3333169613333, 3333802083333, 6506939396056, 12212500521221, 5466543663456645, 3310988011108890133, 520752145595541257025, 336753352502205253357633, 5882480463134313640842885, 102573006711888117600375201, 8025741496504444056941475208, 18651903272292929227230915681, 33582545421505050512454528533}; Table[Length[Select[A054910, IntegerLength[#] == n || (n == 1 && # == 0) &]], {n, 20}] (* Robert Price, Apr 29 2019 *)
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Robert Price, Apr 29 2019
STATUS
approved