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

A209777
Number of q in the range 0<=q<=n for which k(n)+k(q) is prime, with k(n) := n*(n+1)^2/2.
0
1, 1, 0, 1, 0, 2, 1, 0, 0, 3, 0, 1, 2, 0, 0, 2, 1, 3, 1, 0, 0, 9, 1, 0, 2, 2, 0, 2, 1, 2, 4, 0, 0, 6, 1, 1, 5, 4, 1, 3, 2, 3, 2, 0, 0, 15, 0, 2, 2, 3, 3, 7, 1, 4, 2, 1, 3, 17, 2, 1, 6, 5, 1, 4, 2, 8, 3, 0, 0, 7, 2, 3, 9, 3, 1, 2, 0, 9, 1, 0, 2, 21, 1, 4, 6, 9, 2, 5, 2, 4, 6, 3, 3, 16, 2, 2, 4, 5, 1, 2
OFFSET
1,6
EXAMPLE
a(6)=2 because 147+2 and 147+50 are primes;
a(10)=3 because 605+2, 605+224 and 605+324 are primes.
CROSSREFS
Sequence in context: A237053 A364022 A363900 * A356931 A377129 A356864
KEYWORD
nonn
AUTHOR
Gerasimov Sergey, Mar 27 2012
EXTENSIONS
Corrected by R. J. Mathar, Mar 30 2012
STATUS
approved