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

%I #19 Dec 06 2014 14:18:20

%S 0,1,2,6,8,14,18,20,24,30,34,36,38,48,50,54,64,68,78,80,84,94,96,98,

%T 104,110,114,124,132,134,138,144,154,156,164,174,182,188,198,208,210,

%U 216,220,228,230,248,252,258,260,270,284,294,300,306,308,314,322,328,330,336,344,360

%N Numbers n such that the sum of n and the least prime>n (A151800(n)) is prime.

%e 50 is in the sequence because A151800(50)=53, and 50+53=103 is prime.

%o (PARI){for(i=0,10^3,k=i+nextprime(i+1);if(isprime(k),print1(i,", ")))}

%Y Cf. A151800, A249666, A249667, A249676.

%K nonn

%O 1,3

%A _Antonio Roldán_, Dec 03 2014

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 25 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)