login
A292118
G.f.: 1 + 2*Sum_{k >= 1} (-1)^k*q^A003159(k).
4
1, -2, 0, 2, -2, 2, 0, -2, 0, 2, 0, -2, 2, -2, 0, 2, -2, 2, 0, -2, 2, -2, 0, 2, 0, -2, 0, 2, -2, 2, 0, -2, 0, 2, 0, -2, 2, -2, 0, 2, 0, -2, 0, 2, -2, 2, 0, -2, 2, -2, 0, 2, -2, 2, 0, -2, 0, 2, 0, -2, 2, -2, 0, 2, -2, 2, 0, -2, 2, -2, 0, 2, 0, -2, 0, 2, -2
OFFSET
0,2
LINKS
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
First differences of A106400.
Sequence in context: A082054 A327276 A044943 * A277486 A102395 A127504
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Sep 09 2017
STATUS
approved