%I #14 May 28 2017 09:13:00
%S 0,1,1,2,1,2,1,0,1,2,1,0,1,2,0,1,1,2,1,0,1,2,0,1,1,2,1,0,0,1,1,2,1,2,
%T 1,0,1,2,0,1,1,2,1,0,0,1,1,2,1,2,1,0,1,2,0,1,0,1,1,2,1,2,1,0,1,2,1,0,
%U 1,2,0,1,1,2,1,0,0,1,1,2,1,2,1,0,1,2,0,1,0,1,1,2,1,2,1,0,1,2,1,0,1,2,0,1,1
%N Fixed point of morphism 0 -> 01, 1 -> 12, 2 -> 10, starting with 0.
%C Let u be the sequence of positions of 0, and likewise, v for 1 and w for 2. Let U, V, W be the limits of u(n)/n, v(n)/n, w(n)/n, respectively. Then U = 4, V = 2, W = 4. - _Clark Kimberling_, May 25 2017
%H <a href="/index/Fi#FIXEDPOINTS">Index entries for sequences that are fixed points of mappings</a>
%e The first five iterates of the morphism are as follows:
%e 01
%e 0112
%e 01121210
%e 0112121012101201
%e 01121210121012011210120112100112
%e - _Clark Kimberling_, May 25 2017
%t Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 1}, 1 -> {1, 2}, 2 -> {1, 0}}) ]}], {0}, 7] (* _Robert G. Wilson v_, Mar 03 2005 *)
%Y Cf. A287373, A287374, A287375.
%K nonn,easy
%O 0,4
%A _Ralf Stephan_, Dec 11 2004