|
Search: id:A024011
|
|
|
| A024011 |
|
Numbers n such that n-th prime divides sum of first n primes. |
|
+0 6
|
| |
|
|
OFFSET
|
1,2
|
|
|
EXAMPLE
|
The third prime, 5, divides 2+3+5 = 10.
|
|
MATHEMATICA
|
s = 0; For[i = 1, i <= 5*10^7, i++, s = s + Prime[i]; If[Mod[s, Prime[i + 1]] == 0, Print[i + 1]]]
|
|
PROGRAM
|
(PARI) s=0; t=0; for(w=2, 1000000000, if(isprime(w), s=s+w; t=t+1; if(s%w, print(t)), ))
|
|
CROSSREFS
|
Cf. A007506, A028581, A028582, A071089.
Adjacent sequences: A024008 A024009 A024010 this_sequence A024012 A024013 A024014
Sequence in context: A089943 A108699 A002857 this_sequence A052445 A089999 A124397
|
|
KEYWORD
|
nonn,nice,hard,more,new
|
|
AUTHOR
|
G. L. Honaker, Jr. (honak3r(AT)bvunet.net)
|
|
EXTENSIONS
|
5th term from Kok Seng Chua (chuaks(AT)ihpc.nus.edu.sg), May 14 2000, who reports no other terms below pi(4*10^9)=189961812.
No other terms below pi(10^12)=37607912018. [From Jon E. Schoenfield (jonscho(AT)hiwaay.net), Sep 11 2008]
|
|
|
Search completed in 0.002 seconds
|