OFFSET
0,2
COMMENTS
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 0..1999
Vladimir Shevelev, Two analogs of Thue-Morse sequence, arXiv:1603.04434 [math.NT], 2016.
Eric Weisstein's World of Mathematics, Negabinary
MATHEMATICA
b = 2; Select[Range[0, 125], Function[k, EvenQ@ Total@ Rest@ Reverse@ Mod[NestWhileList[(# - Mod[#, b])/-b &, k, # != 0 &], b]]] (* Michael De Vlieger, Mar 03 2016, after Robert Lozyniak at A039724 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Mar 02 2016
EXTENSIONS
More terms from Peter J. C. Moses, Mar 02 2016
STATUS
approved