OFFSET
0,3
COMMENTS
This substitution gives a dragon like tile: aa=p[6]; bb = aa /. 1 -> {-1, N[Sqrt[3]]}/2 /. 2 -> {-1, -N[Sqrt[3]]}/2 /. 3 -> {1, 0}; ListPlot[FoldList[Plus, {0, 0}, bb], PlotJoined -> False, PlotRange -> All, Axes -> False];
FORMULA
1->{1, 1, 3, 2, 3, 1, 1}, 2->{2, 2, 1, 3, 1, 2, 2}, 3->{3, 3, 2, 1, 2, 3, 3}
MATHEMATICA
s[1] = {1, 1, 3, 2, 3, 1, 1}; s[2] = {2, 2, 1, 3, 1, 2, 2}; s[3] = {3, 3, 2, 1, 2, 3, 3}; t[a_] := Flatten[s /@ a]; p[0] = {1}; p[1] = t[p[0]]; p[n_] := t[p[n - 1]] aa = p[3]
CROSSREFS
KEYWORD
nonn,uned
AUTHOR
Roger L. Bagula, May 13 2005
STATUS
approved