OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
66 is in the sequence because A151799(66)=61, and 66+61=127 is prime.
MATHEMATICA
Select[Range[400], PrimeQ[#+NextPrime[#, -1]]&] (* Harvey P. Dale, Aug 04 2019 *)
PROG
(PARI) {for(i=3, 10^3, k=i+precprime(i-1); if(isprime(k), print1(i, ", ")))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Antonio Roldán, Dec 03 2014
STATUS
approved