OFFSET
1,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
Adding 7 to the first 6 terms of the sequence gives [7,7,7,10,8,11]. Of these terms, two are composite, so a(7) = 2.
MATHEMATICA
a = {0, 0}; For[n = 3, n < 90, n++, in = 0; For[j = 1, j < Length[a] + 1, j++, If[ ! PrimeQ[n + a[[j]]], in++ ]]; AppendTo[a, in]]; a (* Stefan Steinerberger, Jun 03 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jan 16 2006
EXTENSIONS
More terms from Stefan Steinerberger, Jun 03 2007
STATUS
approved