OFFSET
1,1
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
C. K. Caldwell, Composite Numbers.
EXAMPLE
a(1)=7 because 3 consecutive composites {8, 9 and 10} follow 7 and 3 is prime.
MATHEMATICA
Transpose[Select[Table[{n, NextPrime[n]-n-1}, {n, 300}], PrimeQ[ Last[#]]&]][[1]] (* Harvey P. Dale, May 26 2011 *)
CROSSREFS
KEYWORD
easy,nice,nonn
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, May 26 2011
STATUS
approved