OFFSET
1,2
COMMENTS
FORMULA
a(n+1) = 2*a(n) + 0 or +-1. - Robert G. Wilson v, Sep 27 2003
a(n+1) = 2*a(n) + A029883(n). - Philippe Deléham, Mar 21 2004
MATHEMATICA
tm = Table[ If[ OddQ[ Count[ IntegerDigits[n, 2], 1]], 1, 0], {n, 0, 35}]; Table[ FromDigits[ Take[ tm, n + 1], 2] - FromDigits[ Take[ tm, n], 2], {n, 1, 33}] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Sep 21 2003
EXTENSIONS
More terms from Robert G. Wilson v, Sep 27 2003
STATUS
approved