OFFSET
0,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
FORMULA
a(n) ~ n/2. - Amiram Eldar, Sep 14 2024
MATHEMATICA
Accumulate[(1 + JacobiSymbol[-1, Range[100]])/2] (* Paolo Xausa, May 26 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 23 2021
STATUS
approved