%I #27 Jul 03 2020 14:55:05
%S 1,2,3,1,1,1,2,1,2,1,2,3,1,1,2,3,1,1,2,3,1,1,1,2,1,2,3,1,1,1,2,1,2,3,
%T 1,1,1,2,1,2,1,2,3,1,1,2,3,1,1,1,2,1,2,1,2,3,1,1,2,3,1,1,1,2,1,2,1,2,
%U 3,1,1,2,3,1,1,2,3,1,1,1,2,1,2,3,1,1,1,2,1,2,1,2,3,1,1,2,3,1,1,2,3,1,1,1,2
%N Fixed point of the morphism 1 -> 12, 2 -> 31, 3 -> 1, starting from a(1) = 1.
%C Sirvent comments that in spite of the similarity of this map to the one in A092782, the two sequences have very different properties. They have different complexities, different Rauzy fractals, etc.
%H G. C. Greubel, <a href="/A100619/b100619.txt">Table of n, a(n) for n = 1..10000</a>
%H Scott Balchin and Dan Rust, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL20/Rust/rust3.html">Computations for Symbolic Substitutions</a>, Journal of Integer Sequences, Vol. 20 (2017), Article 17.4.1.
%H Victor F. Sirvent, <a href="http://dx.doi.org/10.1016/S0893-9659(98)00121-9">Semigroups and the self-similar structure of the flipped tribonacci substitution</a>, Applied Math. Letters, 12 (1999), 25-29.
%H Victor F. Sirvent, <a href="https://doi.org/10.36045/bbms/1103055617">The common dynamics of the Tribonacci substitutions</a>, Bulletin of the Belgian Mathematical Society-Simon Stevin 7.4 (2000): 571-582.
%H <a href="/index/Fi#FIXEDPOINTS">Index entries for sequences that are fixed points of mappings</a>
%p f(1):= (1, 2): f(2):= (3, 1): f(3):= (1): B:= [1]:
%p for i from 1 to 12 do B:= map(f, B) od:
%p B; # _N. J. A. Sloane_, Aug 17 2018
%t Nest[ Function[l, {Flatten[(l /. {1 -> {1, 2}, 2 -> {3, 1}, 3 -> {1}})]}], {1}, 7][[1]] (* _Robert G. Wilson v_, Feb 26 2005 *)
%Y Cf. A092782.
%K nonn,easy
%O 1,2
%A _N. J. A. Sloane_, Dec 03 2004
%E More terms from _Robert G. Wilson v_, Dec 05 2004