A323116 Fixed point of the morphism 1->221, 2->2211.
2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2
Offset: 1
Keywords
Examples
2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 2,
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
- F. M. Dekking, Regularity and irregularity of sequences generated by automata, Séminaire de Théorie des Nombres de Bordeaux (1979-1980), Exp. No. 9, 10 pp., Univ. Bordeaux I, Talence, 1980.
Programs
-
Maple
f(1):= (2,2,1): f(2):= (2,2,1,1): T:= [2]: for i from 1 to 5 do T:= map(f,T) od; T; # Robert Israel, Jan 07 2019
-
Mathematica
Nest[Flatten[ReplaceAll[#,{1->{2,2,1},2->{2,2,1,1}}]]&,{2},4] (* Paolo Xausa, Nov 09 2023 *)
Comments