%I #9 Nov 25 2018 23:43:24
%S 1,2,2,1,4,1,1,4,4,1,1,4,1,2,2,1,2,3,3,2,1,2,2,1,1,2,2,1,2,3,3,2,2,3,
%T 3,2,1,2,2,1,1,2,2,1,2,3,3,2,1,2,2,1,4,1,1,4,4,1,1,4,1,2,2,1,4,1,1,4,
%U 3,4,4,3,3,4,4,3,4,1,1,4,1,2,2,1,4,1,1,4,4,1,1,4,1,2,2,1,1,2,2,1,4,1,1,4,4
%N A four-symbol four-at-a-time substitution with an ordering change: q=0.
%C This substitution gives two border-like 90-degree fractals, one (q=0) of which appears to tile.
%F 1->{3, 4, 4, 3}, 2->q*{3, 2, 2, 3} + (1 - q)*{2, 3, 3, 2}, 3->{1, 2, 2, 1}, 4->q*{1, 4, 4, 1} + (1 - q)*{4, 1, 1, 4}.
%t q = 0; s[1] = {3, 4, 4, 3}; s[2] = q*{3, 2, 2, 3} + (1 -q)*{2, 3, 3, 2}; s[3] = {1, 2, 2, 1}; s[4] = q*{1, 4, 4, 1} + (1 - q)*{4, 1, 1, 4}; t[a_] := Flatten[s /@ a] p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] aa = p[4]
%K nonn,uned
%O 0,2
%A _Roger L. Bagula_, May 12 2005