%I #9 Nov 09 2020 00:01:26
%S 2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,2,1,3,2,1,2,3,1,3,2,3,1,2,1,3,2,3,1,3,
%T 2,1,2,3,1,3,2,3,1,2,1,3,2,1,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,2,1,3,2,1,
%U 2,3,1,3,2,3,1,2,1,3,2,1,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,3,2,3,1
%N Ternary Thue-Morse sequence: closed under a->abc, b->ac, c->b.
%C Is this A005680 shifted one place left? [From _R. J. Mathar_, Oct 20 2008]
%C Agrees with A005680 shifted one place left for at least n <= 1000000. - _Sean A. Irvine_, Nov 08 2020
%D M. Lothaire, Combinatorics on Words. Addison-Wesley, Reading, MA, 1983, p. 26.
%Y Equals A036579(n)+1.
%K nonn
%O 0,1
%A _N. J. A. Sloane_.