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!)
A249624 Numbers n such that the sum of n and the least prime>n (A151800(n)) is prime. 3
0, 1, 2, 6, 8, 14, 18, 20, 24, 30, 34, 36, 38, 48, 50, 54, 64, 68, 78, 80, 84, 94, 96, 98, 104, 110, 114, 124, 132, 134, 138, 144, 154, 156, 164, 174, 182, 188, 198, 208, 210, 216, 220, 228, 230, 248, 252, 258, 260, 270, 284, 294, 300, 306, 308, 314, 322, 328, 330, 336, 344, 360 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
50 is in the sequence because A151800(50)=53, and 50+53=103 is prime.
PROG
(PARI){for(i=0, 10^3, k=i+nextprime(i+1); if(isprime(k), print1(i, ", ")))}
CROSSREFS
Sequence in context: A212124 A213374 A271729 * A104636 A212014 A270050
KEYWORD
nonn
AUTHOR
Antonio Roldán, Dec 03 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)