OFFSET
1
LINKS
EXAMPLE
0 -> 01-> 011110 -> 01111011101110111001->
MATHEMATICA
s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {1, 1, 1, 0}}] &, {0}, 6] (* A284944 *)
Flatten[Position[s, 0]] (* A284945 *)
Flatten[Position[s, 1]] (* A284946 *)
SubstitutionSystem[{0->{0, 1}, 1->{1, 1, 1, 0}}, {0}, {5}][[1]] (* Harvey P. Dale, Dec 17 2024 *)
CROSSREFS
KEYWORD
nonn,easy,changed
AUTHOR
Clark Kimberling, Apr 18 2017
STATUS
approved