OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1)=11 is the first prime separated from the previous prime (7) by a prime number (3) of successive composites, namely, 10, 9, 8.
MATHEMATICA
Select[Prime[Range[2, 100]], PrimeQ[# - NextPrime[#, -1] - 1] &] (* T. D. Noe, Mar 12 2012 *)
Select[Partition[Prime[Range[100]], 2, 1], PrimeQ[#[[2]]-#[[1]]-1]&][[All, 2]] (* Harvey P. Dale, Jul 14 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Mar 10 2012
STATUS
approved