OFFSET
1,2
EXAMPLE
The first three terms of A010060 are 0, 1, 1, so a(3) = 110_2 = 6.
MATHEMATICA
FromDigits[ #, 2] & /@ NestList[Flatten[ # /. {1 -> {0, 1}, 0 -> {1, 0}}] &, {0}, 8] (* Robert G. Wilson v, Sep 25 2006 *)
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Roger L. Bagula, Sep 17 2006
EXTENSIONS
Edited by Robert G. Wilson v, Sep 25 2006
STATUS
approved