login
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
OFFSET
1,3
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
KEYWORD
nonn
AUTHOR
Antonio Roldán, Dec 03 2014
STATUS
approved