OFFSET
1,1
MATHEMATICA
Composite[n_Integer] := FixedPoint[1 + n + PrimePi@ # &, n + PrimePi@ n + 1]; f[s_List] := Block[{c = Composite[1 + Length@ s], k = 1, t = Plus @@ s}, While[ MemberQ[s, k] || Mod[t + k, c] > 0, k++]; Append[s, k]]; Nest[f, {}, 69] (* Robert G. Wilson v, May 13 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 13 2002
EXTENSIONS
More terms from David Wasserman, Jan 16 2005
STATUS
approved