%I #5 May 22 2017 20:03:33
%S 2,0,1,0,0,1,0,2,0,1,0,1,0,2,0,1,0,0,1,0,2,0,1,0,0,1,0,2,0,1,0,1,0,2,
%T 0,1,0,0,1,0,2,0,1,0,2,0,1,0,0,1,0,2,0,1,0,1,0,2,0,1,0,0,1,0,2,0,1,0,
%U 1,0,2,0,1,0,0,1,0,2,0,1,0,2,0,1,0,0
%N 2-limiting word of the morphism 0->10, 1->20, 2->0.
%C Starting with 0, the first 5 iterations of the morphism yield words shown here:
%C 1st: 10
%C 2nd: 2010
%C 3rd: 0102010
%C 4th: 1020100102010
%C 5th: 201001020101020100102010
%C The 2-limiting word is the limit of the words for which the number of iterations is congruent to 2 mod 3.
%C Let U, V, W be the limits of u(n)/n, v(n)/n, w(n)/n, respectively. Then 1/U + 1/V + 1/W = 1, where
%C U = 1.8392867552141611325518525646532866...,
%C V = U^2 = 3.3829757679062374941227085364...,
%C W = U^3 = 6.2222625231203986266745611011....
%C If n >=2, then u(n) - u(n-1) is in {1,2}, v(n) - v(n-1) is in {2,3,4}, and w(n) - w(n-1) is in {4,6,7}.
%H Clark Kimberling, <a href="/A287174/b287174.txt">Table of n, a(n) for n = 1..10000</a>
%e 2nd iterate: 2010
%e 5th iterate: 201001020101020100102010
%t s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {2, 0}, 2 -> 0}] &, {0}, 11] (* A287174 *)
%t Flatten[Position[s, 0]] (* A287175 *)
%t Flatten[Position[s, 1]] (* A287176 *)
%t Flatten[Position[s, 2]] (* A287177 *)
%Y Cf. A286998, A287111, A287175, A287176, A287177.
%K nonn,easy
%O 1,1
%A _Clark Kimberling_, May 22 2017
|