login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A305629 Number of values of k, 0 < k < n, for which (2*n^2 + 2*k*n - k^2 - k)/2 is prime. 0
0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 0, 3, 3, 1, 3, 5, 2, 2, 4, 2, 1, 4, 3, 2, 4, 1, 4, 4, 2, 4, 4, 3, 1, 3, 2, 4, 12, 3, 2, 7, 1, 7, 15, 3, 4, 6, 3, 8, 8, 2, 4, 10, 6, 7, 7, 3, 6, 16, 3, 4, 6, 3, 8, 7, 4, 5, 11, 5, 4, 7, 5, 8, 12, 2, 12, 8, 4, 16, 9, 3, 8, 24, 6, 8, 11, 5, 8, 19, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,9
COMMENTS
It appears that a(A046174(n)) = 0.
LINKS
PROG
(PARI) a(n) = sum(k=1, n-1, isprime((2*n^2+2*k*n-k^2-k)/2))
CROSSREFS
Cf. A046174.
Sequence in context: A341894 A171932 A358094 * A214664 A214666 A320471
KEYWORD
nonn
AUTHOR
Gionata Neri, Jul 08 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)