login
This site is supported by donations 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

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

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

Cf. A151800, A249666, A249667, A249676.

Sequence in context: A212124 A213374 A271729 * A104636 A212014 A270050

Adjacent sequences:  A249621 A249622 A249623 * A249625 A249626 A249627

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 19:29 EDT 2018. Contains 315260 sequences. (Running on oeis4.)