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!)
A372725 a(n) = Sum_{k=2..n+2} L(n/prime(k)) where L(n/p) is the Legendre symbol. Row sums of A372726. 2
0, 2, -1, -1, 5, -3, -2, -3, -3, 9, -2, -3, -4, -3, -2, -2, 17, -3, -4, -1, -2, 0, -4, -1, 0, 25, -4, -1, -4, -5, -3, -5, -3, -6, -2, 2, 36, -1, 6, -4, -6, -7, 1, -3, -4, -2, 0, 9, -4, 49, -4, -4, -4, -7, -6, -4, -2, -6, -4, -3, 1, 1, 12, -4, 65, -2, -5, -5 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MAPLE
L := (n, k) -> NumberTheory:-LegendreSymbol(n, ithprime(k)):
seq(add(L(n, k), k = 2..n + 2), n = 0..67);
PROG
(PARI) a(n) = sum(k=2, n+2, kronecker(n, prime(k))); \\ Michel Marcus, May 22 2024
CROSSREFS
Cf. A372726, A372724 (fixed points).
Sequence in context: A263296 A259862 A182930 * A232187 A076241 A316399
KEYWORD
sign
AUTHOR
Peter Luschny, May 22 2024
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 June 27 15:24 EDT 2024. Contains 373746 sequences. (Running on oeis4.)