OFFSET
0,4
COMMENTS
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
EXAMPLE
The first five iterates of the morphism are as follows:
01
0112
01121210
0112121012101201
01121210121012011210120112100112
- Clark Kimberling, May 25 2017
MATHEMATICA
Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 1}, 1 -> {1, 2}, 2 -> {1, 0}}) ]}], {0}, 7] (* Robert G. Wilson v, Mar 03 2005 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Dec 11 2004
STATUS
approved