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!)
A071961 Sum( i=1, n, K(n,i) ) where K(x,y) is the Kronecker symbol (x/y). 5
1, 1, 0, 2, 0, 2, 4, 0, 6, 2, 2, 0, 0, 4, 6, 8, 0, 0, 2, 0, 0, 2, 6, 0, 20, 6, 0, 0, 0, 4, 12, 0, 0, 4, 4, 12, 0, 6, 12, 0, 0, 4, 0, 0, 0, 4, 10, 0, 42, 2, 4, 0, 0, 2, 18, 0, 0, 2, 6, 0, 0, 8, 2, 32, 0, 8, -2, 0, 0, 4, 14, 0, 0, 10, 4, 0, 0, 4, 22, 0, 54, 4, 4, 0, 0, 10, 14, 0, 0, 4, 2, 0, 0, 8, 14, 0, 0, 2, -2, 40, 0, 4, 22, 0, 0, 6, 4, 0, 0, 12, 22, 0, 0, 8, -2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
a(n) = A096396(n) - A096397(n). - Reinhard Zumkeller, Mar 24 2012
a(n) < 0 for n in A071958. - Robert G. Wilson v, Mar 21 2015
LINKS
MATHEMATICA
f[n_] := Sum[ KroneckerSymbol[n, k], {k, n}]; Array[f, 114] (* Robert G. Wilson v, Mar 21 2015 *)
PROG
(PARI) for(n=1, 100, print1(sum(i=1, n, kronecker(n, i)), ", "))
CROSSREFS
Sequence in context: A137320 A263399 A143507 * A172040 A317327 A120557
KEYWORD
easy,sign
AUTHOR
Benoit Cloitre, Jun 16 2002
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 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)