(Translated by https://www.hiragana.jp/)
A071961 - OEIS
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 a(n) = Sum_{i=0..n} K(n, i) where K(x, y) is the Kronecker symbol (x / y). 10
0, 2, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
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, 0, n}];
Table[f[n], {n, 0, 81}] (* Robert G. Wilson v, Mar 21 2015 *)
PROG
(PARI) for(n=0, 100, print1(sum(i=1, n, kronecker(n, i)), ", "))
(SageMath)
print([sum(kronecker(n, k) for k in range(n + 1)) for n in range(82)])
# Peter Luschny, May 16 2024
CROSSREFS
Row sums of A372728.
Records and their positions: A372933, A372934, A372935, A372936.
Sequence in context: A252055 A324144 A320836 * A351977 A097567 A022881
KEYWORD
easy,sign,look
AUTHOR
Benoit Cloitre, Jun 16 2002
EXTENSIONS
Offset set to 0, a(0) = 0 added, a(1) and name adapted by Peter Luschny, May 16 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 July 23 13:21 EDT 2024. Contains 374549 sequences. (Running on oeis4.)