OFFSET
0,2
COMMENTS
a(n) < 0 for n in A071958. - Robert G. Wilson v, Mar 21 2015
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
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
KEYWORD
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