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!)
A071957 Sum( i=1, n, K(i,n) ) where K(x,y) is the Kronecker symbol (x/y). 0
1, 1, 0, 2, 0, 2, 0, 0, 6, 2, 0, 0, 0, 4, 0, 8, 0, 0, 0, 0, 0, 2, 0, 0, 20, 6, 0, 0, 0, 4, 0, 0, 0, 4, 0, 12, 0, 6, 0, 0, 0, 4, 0, 0, 0, 4, 0, 0, 42, 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 8, 0, 32, 0, 8, 0, 0, 0, 4, 0, 0, 0, 10, 0, 0, 0, 4, 0, 0, 54, 4, 0, 0, 0, 10, 0, 0, 0, 4, 0, 0, 0, 8, 0, 0, 0, 2, 0, 40 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
a(n) is always >= 0
LINKS
MATHEMATICA
Table[Sum[KroneckerSymbol[i, n], {i, n}], {n, 100}] (* Alonso del Arte, Dec 26 2012 *)
PROG
(PARI) for(n=1, 100, print1(sum(i=1, n, kronecker(i, n)), ", "))
CROSSREFS
Sequence in context: A073274 A192323 A242848 * A329186 A298609 A283978
KEYWORD
easy,nonn
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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)