login
1-limiting word of the morphism 0->10, 1-> 0100.
6

%I #4 Apr 22 2017 23:05:40

%S 1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,

%T 0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,

%U 1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,0,0,1

%N 1-limiting word of the morphism 0->10, 1-> 0100.

%C The morphism 0->10, 1-> 0100 has two limiting words. If the number of iterations is even, the 0-word evolves from 0 -> 10 -> 0100 -> 1001001010 -> 0100101001001010010010010010; if the number of iterations is odd, the 1-word evolves from 0 -> 10 -> 0100 -> 1001001010, as in A285208.

%H Clark Kimberling, <a href="/A285208/b285208.txt">Table of n, a(n) for n = 1..10000</a>

%t s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {0, 1, 0, 0}}] &, {0}, 11]; (* A285208 *)

%t Flatten[Position[s, 0]]; (* A285209 *)

%t Flatten[Position[s, 1]]; (* A285210 *)

%Y Cf. A285205, A285209, A285210.

%K nonn,easy

%O 1

%A _Clark Kimberling_, Apr 21 2017