OFFSET
1,3
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Sum_{k=1..n} (n-k | k) where (i | j) is the Kronecker symbol.
MAPLE
f:= n -> add(numtheory:-jacobi(n-k, k), k=1..n); # Robert Israel, Mar 11 2018
MATHEMATICA
a[n_] := Sum[ KroneckerSymbol[n - k, k], {k, 1, n}]; Table[a[n], {n, 1, 81}] (* Jean-François Alcover, Jul 02 2013 *)
PROG
CROSSREFS
KEYWORD
sign,look
AUTHOR
Peter Luschny, Aug 07 2012
STATUS
approved