OFFSET
0,5
MAPLE
J := (n, k) -> ifelse(k::even, 0, NumberTheory:-JacobiSymbol(n, k)):
seq(add(J(n, k), k = 0..n), n = 0..85);
PROG
(PARI) a(n) = vecsum(vector(n, k, if (k%2, kronecker(n, k)))); \\ Michel Marcus, May 19 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, May 19 2024
STATUS
approved