login
Fixed point of the morphism 1 -> 21212, 2 -> 3, 3 -> 43434, 4 -> 1, applied 4*k times to 1.
0

%I #13 Nov 07 2016 08:31:56

%S 1,4,3,4,3,4,1,4,3,4,3,4,1,4,3,4,3,4,3,2,1,2,1,2,3,2,1,2,1,2,3,4,3,4,

%T 3,4,3,2,1,2,1,2,3,2,1,2,1,2,3,4,3,4,3,4,1,4,3,4,3,4,1,4,3,4,3,4,1,4,

%U 3,4,3,4,3,2,1,2,1,2,3,2,1,2,1,2,3,4,3,4,3,4,3,2,1,2,1,2,3,2,1,2,1,2,3,4,3

%N Fixed point of the morphism 1 -> 21212, 2 -> 3, 3 -> 43434, 4 -> 1, applied 4*k times to 1.

%F 1->{2, 1, 2, 1, 2}, 2->{3}, 3->{4, 3, 4, 3, 4}, 4->{1}.

%t s[1] = {2, 1, 2, 1, 2}; s[2] = {3}; s[3] = {4, 3, 4, 3, 4}; s[4] = {1}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] aa = p[4]

%K nonn,easy,less

%O 0,2

%A _Roger L. Bagula_, May 06 2005

%E New name from _Joerg Arndt_, Nov 07 2016