OFFSET
1
FORMULA
a(3k-2)=a(k), a(3k-1)=1-a(k), a(3k)=0 for k>=1, a(0)=0.
Conjecture: a(n) = 2n - 1 - A285347(n).
This conjecture is correct, and proved in A285347. - Michel Dekking, Sep 07 2022
EXAMPLE
0->010->010100010->
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 25 2011
STATUS
approved