OFFSET
1,1
COMMENTS
It seems that a(n) exists for any n.
Among first 1000 terms, the largest term is a(793) = 1807606, with p = prime(793) = 6079, and 6079*1807606 = the sum of 42840 consecutive primes after p. - Zak Seidov, Nov 07 2014
Among first 10000 terms, the largest term is a(9349) = 30376745, with p = prime(9349) = 97159, and p*(9349) = the sum of 629543 consecutive primes after p: 2951374167455 = sum(prime(k), k = 9349 + 1..9349 + 629543) - Zak Seidov, Feb 21 2015
LINKS
Zak Seidov, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=18 because prime(3)=5 and (7+11+13+17+19+23)/5 = 18.
MATHEMATICA
bb={}; Do[s0=Prime[n0]; s=0; Do[If[IntegerQ[ss0=(s+=Prime[n])/s0], bb=Append[bb, ss0]; Break[]], {n, n0+1, 8000}], {n0, 1, 10}]; bb
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Jul 20 2003
EXTENSIONS
Edited by Don Reble, Nov 10 2005
STATUS
approved