login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242387 Lesser of consecutive primes such that their average is a palindromic number. 1
3, 5, 7, 97, 109, 281, 359, 389, 409, 509, 631, 653, 691, 743, 827, 857, 907, 937, 967, 1549, 2111, 2767, 4219, 4441, 7001, 9007, 9337, 9661, 10099, 11503, 12919, 13421, 16759, 17569, 21011, 21611, 23831, 26261, 26861, 28181, 29287, 29483, 30497, 31307, 32213, 33029, 33629 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..47.

EXAMPLE

389 is in the sequence because 389 is prime, nextprime(389)=397, and (389+397)/2=393, palindromic number.

PROG

(PARI)

palind(n)=Str(n)==concat(Vecrev(Str(n)))

{p=2; while(p<10^5, q=nextprime(p+1); if(palind((p+q)/2), print1(p, ", ")); p=q)}

CROSSREFS

Cf. A242386.

Sequence in context: A160360 A082697 A051345 * A104388 A110337 A132287

Adjacent sequences:  A242384 A242385 A242386 * A242388 A242389 A242390

KEYWORD

nonn,base,less

AUTHOR

Antonio Roldán, May 12 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified January 23 00:58 EST 2018. Contains 298093 sequences.