OFFSET
1,1
COMMENTS
LINKS
Zak Seidov, Table of n, a(n) for n = 1..2000
MATHEMATICA
f[s_] := Block[{m = 1 + Length@ s, p = NextPrime@ s[[-1]], ss = Plus @@ s}, While[ !PrimeQ[(ss + p)/m], p = NextPrime@ p]; Append[s, p]]; Nest[f, {3}, 41] (* Robert G. Wilson v, Dec 15 2012 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Dec 16 2003
EXTENSIONS
Corrected and extended by Rick L. Shepherd, Mar 08 2004
STATUS
approved