login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A098074
Numbers n such that the sum of the first n primes is divisible by n + 1.
1
1, 9, 13, 26, 37, 222, 574, 1405, 1567, 4380, 6821, 7248, 27481, 28067, 68826, 87471, 1223877, 3673808, 8143207, 13245065, 16237421, 46410995, 83214449, 127319479, 145085056, 183943755, 1881387895, 3896341197, 4009536763, 4220428005, 6542284313, 10972073745
OFFSET
1,2
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..46 (terms < 2.5*10^12)
Chris Caldwell, The First 10,000 Primes
EXAMPLE
83214450 * 817931313 = 68063704349072850.
MATHEMATICA
s = 0; Do[p = Prime[n]; If[ Mod[s += p, n + 1] == 0, Print[n]], {n, 10^8}]
PROG
(PARI) s=0; for(n=1, 100000, s=s+prime(n); if(s%(n+1)==0, print(n))) (Hudson)
CROSSREFS
Sequence in context: A097539 A107913 A175532 * A366997 A032361 A031196
KEYWORD
nonn
AUTHOR
Anne M Donovan (Anned3005(AT)aol.com), Oct 24 2004
EXTENSIONS
More terms from Mark Hudson (mrmarkhudson(AT)hotmail.com), Oct 25 2004
Further terms from Robert G. Wilson v, Oct 26 2004
a(24)-a(26) from Donovan Johnson, Sep 03 2008
a(27)-a(30) from Donovan Johnson, May 03 2010
a(31)-a(32) from Donovan Johnson, Oct 16 2012
STATUS
approved