OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1) = 5009 because prime(620)+...+prime(719) = 4583+...+5441 = 500900.
MATHEMATICA
h = 100; t = {}; s = Prime[Range[h]]; pCnt = h; Do[sm = Total[s]; If[Mod[sm, h] == 0 && PrimeQ[sm/h], AppendTo[t, sm/h]]; pCnt++; s = Append[Rest[s], Prime[pCnt]], {20000}]; t (* T. D. Noe, Oct 22 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 21 2012
STATUS
approved