OFFSET
1,1
LINKS
Zak Seidov, Table of n, a(n) for n = 1..1000
FORMULA
Let A132809(n)=prime(i). Then a(n)= sum(j=i...i+n-1) prime(j). - R. J. Mathar, Nov 27 2007
EXAMPLE
a(5)=395, associated with A132809(5)=71=prime(20) as the first of the 5 consecutive primes, is the smallest sum of 5 consecutive odd primes which is divisible by n=5.
MATHEMATICA
Table[Module[{nn=n, ncop}, ncop=Total/@Partition[Prime[Range[2, 2500]], nn, 1]; SelectFirst[ ncop, Mod[#, nn]==0&]], {n, 50}] (* Harvey P. Dale, Jan 17 2023 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Sep 01 2007
EXTENSIONS
The example does not match the sequence. Also the offset for all of this bunch of sequences should probably be 1. - N. J. A. Sloane, Sep 13 2007
Edited by R. J. Mathar, Nov 27 2007
STATUS
approved