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

A322422
Numbers k such that the sum of the first k*(k+1) primes is prime.
3
1, 2, 3, 11, 18, 31, 34, 49, 57, 76, 79, 84, 97, 118, 139, 140, 172, 175, 183, 184, 185, 191, 208, 218, 221, 232, 233, 247, 262, 266, 294, 313, 315, 323, 333, 334, 339, 344, 351, 361, 366, 372, 407, 413, 436, 445, 461, 473, 478, 500, 545, 546, 556, 564, 577
OFFSET
1,2
LINKS
FORMULA
A322421(n) = A322420(a(n)) = A007504(A002378(a(n))).
MATHEMATICA
f[n_] := Sum[Prime[k], {k, n}]; Select[Range[500],
PrimeQ[f[#*(# + 1)]] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray Chandler, Dec 07 2018
STATUS
approved