%I #8 Oct 01 2016 20:48:10
%S 0,1,2,0,1,0,0,1,2,0,0,1,0,1,2,0,1,0,0,1,0,1,2,0,0,1,2,0,1,0,0,1,2,0,
%T 0,1,0,1,2,0,0,1,2,0,1,0,0,1,0,1,2,0,1,0,0,1,2,0,0,1,0,1,2,0,1,0,0,1,
%U 0,1,2,0,0,1,2,0,1,0,0,1,0,1,2,0,1,0,0,1,2,0,0,1,0,1,2,0,0,1,2,0,1,0
%N Fixed point of morphism 0 -> 01, 1 -> 20, 2 -> 10.
%H <a href="/index/Fi#FIXEDPOINTS">Index entries for sequences that are fixed points of mappings</a>
%t Nest[ Function[ l, {Flatten[(l /. {0 -> {0, 1}, 1 -> {2, 0}, 2 -> {1, 0}})]}], {0}, 7] (* _Robert G. Wilson v_, Feb 26 2005 *)
%K nonn,easy
%O 0,3
%A _Ralf Stephan_, Dec 11 2004