%I #5 May 25 2017 09:35:38
%S 1,1,0,2,1,1,1,0,2,1,0,2,1,0,2,1,2,1,2,1,1,1,0,2,1,1,1,0,2,1,1,1,0,2,
%T 1,0,2,1,0,2,1,2,1,2,1,1,1,0,2,1,0,2,1,0,2,1,2,1,2,1,1,1,0,2,1,0,2,1,
%U 0,2,1,2,1,2,1,1,1,0,2,1,2,1,2,1,1,1
%N 1-limiting word of the morphism 0->11, 1->21, 2->0.
%C Starting with 0, the first 5 iterations of the morphism yield words shown here:
%C 1st: 11
%C 2nd: 2121
%C 3rd: 021021
%C 4th: 1102111021
%C 5th: 212111021212111021
%C The 1-limiting word is the limit of the words for which the number of iterations congruent to 1 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 = 5.5707505637226408833903376944272134...,
%C V = 1.9375648970813894129869852971548390...,
%C W = 3.2853752818613204416951688472136067...
%C If n >=2, then u(n) - u(n-1) is in {3,5,9}, v(n) - v(n-1) is in {1,2,3}, and w(n) - w(n-1) is in {2,3,5}.
%H Clark Kimberling, <a href="/A287364/b287364.txt">Table of n, a(n) for n = 1..10000</a>
%e 4th iterate: 1102111021
%e 7th iterate: 11021110210210212121110211102111021021021212111021
%t s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {2, 1}, 2 -> 0}] &, {0}, 13] (* A287364 *)
%t Flatten[Position[s, 0]] (* A287365 *)
%t Flatten[Position[s, 1]] (* A287366 *)
%t Flatten[Position[s, 2]] (* A287367 *)
%Y Cf. A287360 (0-limiting word), A287365, A287366, A287367, A287368 (2-limiting word).
%K nonn,easy
%O 1,4
%A _Clark Kimberling_, May 24 2017