OFFSET
1
FORMULA
a(3k-2)=a(k), a(3k-1)=0, a(3k)=1-a(k) for k>=1, a(1)=0. [Corrected by Michel Dekking, Sep 15 2019]
EXAMPLE
0->001->001001100->...
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 24 2011
EXTENSIONS
Name clarified by Michel Dekking, Sep 15 2019
STATUS
approved