login
A111326
Numbers k such that 12 divides prime(1) + ... + prime(k).
11
97, 99, 103, 105, 107, 111, 119, 121, 125, 129, 161, 163, 169, 175, 177, 179, 185, 195, 199, 203, 205, 207, 211, 213, 233, 235, 237, 273, 305, 307, 309, 311, 329, 335, 337, 343, 345, 347, 353, 357, 421, 423, 425, 439, 443, 445, 447, 449, 455, 463, 511, 513, 515, 539
OFFSET
1,1
LINKS
MATHEMATICA
Position[Accumulate[Prime[Range[400]]], _?(Divisible[#, 12] &)] // Flatten (* Amiram Eldar, May 14 2024 *)
PROG
(PARI) lista(pmax) = {my(s = 0, k = 0); forprime(p = 2, pmax, k++; s += p; if(!(s % 12), print1(k, ", "))); } \\ Amiram Eldar, May 14 2024
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 05 2005
STATUS
approved