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”).

A111324
Numbers k such that 10 divides prime(1) + ... + prime(k).
11
3, 9, 11, 17, 25, 29, 31, 51, 53, 57, 71, 77, 85, 89, 91, 101, 103, 105, 131, 147, 153, 159, 167, 173, 195, 209, 239, 245, 259, 261, 283, 303, 317, 349, 357, 405, 453, 459, 475, 479, 491, 503, 505, 507, 511, 517, 531, 533, 545, 555, 565, 569, 583, 585, 591, 603, 617, 625
OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
MATHEMATICA
Flatten[Position[Accumulate[Prime[Range[650]]], _?(Divisible[#, 10]&)]] (* Harvey P. Dale, Sep 25 2011 *)
PROG
(PARI) lista(pmax) = {my(s = 0, k = 0); forprime(p = 2, pmax, k++; s += p; if(!(s % 10), print1(k, ", "))); } \\ Amiram Eldar, May 14 2024
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 05 2005
STATUS
approved