The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A307791 Number of palindromic heptagonal numbers of length n whose index is also palindromic. 2
3, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Is there a nonzero term beyond a(4)?
LINKS
P. De Geest, Palindromic Squares
Eric Weisstein's World of Mathematics, Palindromic Number
EXAMPLE
There is only one palindromic heptagonal number of length 4 whose index is also palindromic, 44->4774. Thus, a(4)=1.
MATHEMATICA
A054910 = {0, 1, 7, 55, 616, 3553, 4774, 60606, 848848, 4615164, 5400045, 6050506, 7165445617, 62786368726, 65331413356, 73665056637, 91120102119, 345546645543, 365139931563, 947927729749, 3646334336463, 7111015101117, 717685292586717, 19480809790808491, 615857222222758516, 1465393008003935641, 8282802468642082828, 15599378333387399551, 20316023422432061302};
A054971 = {0, 1, 2, 5, 16, 38, 44, 156, 583, 1359, 1470, 1556, 53537, 158476, 161656, 171657, 190914, 371778, 382173, 615769, 1207698, 1686537, 16943262, 88274141, 496329416, 765609041, 1820198063, 2497949426, 2850685772}; Table[Length[Select[A054971[[Table[Select[Range[19], IntegerLength[A054910[[#]]] == n || (n == 1 && A054910[[#]] == 0) &], {n, 19}][[n]]]], PalindromeQ[#] &]], {n, 19}]
CROSSREFS
Sequence in context: A127537 A265314 A364207 * A307766 A025443 A120080
KEYWORD
nonn,base,hard,more
AUTHOR
Robert Price, Apr 28 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 20:29 EDT 2024. Contains 373206 sequences. (Running on oeis4.)