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!)
A115888 Palindromes equal to the sum of a prime number with its index. 2
3, 5, 8, 11, 101, 242, 383, 424, 454, 545, 585, 606, 666, 676, 757, 949, 2552, 3443, 3663, 4664, 5445, 6006, 6886, 9339, 10001, 10601, 11411, 12321, 15551, 15651, 17871, 17971, 18281, 21412, 22622, 22922, 24642, 24942, 25752, 26762, 28582 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
666 = prime(103)+103.
MATHEMATICA
Select[Total/@Table[{n, Prime[n]}, {n, 3200}], PalindromeQ] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 03 2017 *)
PROG
(PARI) ispal(n) = my(e=digits(n)); e == Vecrev(e) \\ A002113
for(k=1, 10^6, b=k+prime(k); if(ispal(b), print1(b, ", "))) \\ Alexandru Petrescu, Jun 15 2022
CROSSREFS
Subsequence of A002113.
Sequence in context: A220483 A136684 A215751 * A143814 A088971 A153400
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Feb 06 2006
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 April 24 05:26 EDT 2024. Contains 371918 sequences. (Running on oeis4.)