login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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