OFFSET
0,1
LINKS
T. D. Noe, Table of n, a(n) for n = 0..2000
MAPLE
M:=100; a:=array(0..M); a[0]:=2; for n from 1 to M do t1:=0; for i from 0 to n-1 do if isprime(n+a[i]) then t1:=t1+1; fi; od: a[n]:=t1; od: [seq(a[n], n=0..M)];
MATHEMATICA
t={2}; Do[AppendTo[t, Length[Select[t+n, PrimeQ]]], {n, 2000}]; t (* T. D. Noe, Apr 30 2007 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, based on email from Zak Seidov, Oct 16 2006
STATUS
approved