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

A065245
Positive numbers k such that 2 + Sum_{j = 1..k} j^2 is a prime.
2
1, 2, 13, 17, 18, 21, 22, 25, 26, 34, 45, 49, 57, 70, 74, 85, 89, 90, 94, 101, 129, 134, 146, 165, 166, 174, 189, 209, 234, 241, 250, 277, 301, 326, 333, 342, 358, 369, 377, 381, 382, 386, 390, 413, 426, 441, 458, 470, 477, 486, 489, 490, 493, 522, 525, 529
OFFSET
1,2
COMMENTS
Values of m in A065244.
LINKS
PROG
(PARI) { n=s=0; for (m = 1, 10^9, s+=m^2; if (isprime(2 + s), write("b065245.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Oct 14 2009
CROSSREFS
Sequence in context: A257636 A258317 A318911 * A158845 A163786 A153507
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 24 2001
STATUS
approved