OFFSET
1
EXAMPLE
0->01->01100->011001000101->
MATHEMATICA
t = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 0, 0}}] &, {0}, 6] (*A189476*)
Flatten[Position[t, 0]] (*A189477*)
Flatten[Position[t, 1]] (*A189478*)
SubstitutionSystem[{0->{0, 1}, 1->{1, 0, 0}}, {0}, {7}][[1]] (* Harvey P. Dale, Mar 05 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Apr 22 2011
STATUS
approved