OFFSET
1
FORMULA
a(3k-2)=a(k), a(3k-1)=1, a(3k)=1-a(k) for k>=1, a(0)=0.
EXAMPLE
0->011->011110110->
MATHEMATICA
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 26 2011
STATUS
approved