A080038 Start with a(1)=3; apply 3 -> 343, 4 -> 3443; iterate.
3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4
Offset: 1
Examples
3 -> 343 -> 3433443343 -> ...
Programs
-
Mathematica
SubstitutionSystem[{3->{3,4,3},4->{3,4,4,3}},{3},{5}][[1]] (* Harvey P. Dale, Jan 01 2024 *)
Comments