OFFSET
1,1
COMMENTS
Corresponding initial terms of 2001-tuples: 7, 61, 97, 313, 419, 449, 463, 479, 563, 577, 691, 733, 773, 911, 1039, 1093, 1123, 1187, 1201, 1213, 1459, 1483, 1493, 1607. The indices of these primes: 4, 18, 25, 65, 81, 87, 90, 92, 103, 106, 125, 130, 137, 156, 175, 183, 188, 195, 197, 198, 232, 235, 238, 253. - Zak Seidov, Feb 27 2013
LINKS
Syed Iddi Hasan, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = sum(prime(k), k = 4..2004), a(2) = sum(prime(k), k = 18..2018),... - Zak Seidov, Feb 27 2013
MATHEMATICA
m = 2001; a = 2; b = Prime[m]; s = Sum[Prime[k], {k, m}]; Reap[Do[If[PrimeQ[s], Sow[s]]; b = NextPrime[b]; s = s - a + b; a = NextPrime[a], {m}]][[2, 1]] (* Zak Seidov, Feb 27 2013 *)
Select[Total/@Partition[Prime[Range[2500]], 2001, 1], PrimeQ] (* Harvey P. Dale, Mar 13 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Syed Iddi Hasan, Aug 30 2012
STATUS
approved