OFFSET
0,2
LINKS
Sean A. Irvine, Table of n, a(n) for n = 0..10000
George E. Andrews and David Newman, Binary Representations and Theta Functions, 2017.
FORMULA
Andrews-Newman (2017) give many properties of this series.
MATHEMATICA
Join[{1}, Differences[(-1)^ThueMorse[Range[0, 100]]]] (* Paolo Xausa, Dec 18 2023 *)
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Sep 09 2017
STATUS
approved