OFFSET
0,2
COMMENTS
Six-symbol substitution modeled on a hexagon loop.
Characteristic Polynomial: x^6-9*x^5+30*x^4-46*x^3+36*x^2-21*x+9=0 L-system shown as: bb = a /. 1 -> {1, 0} /. 2 -> {0.5, 0.8660254037844386} /. 3 -> {-0.5,0.8660254037844386} /. 4 -> {-1, 0} /. 5 -> {-0.5, -0.8660254037844386} /. 6 -> {0.5, -0.8660254037844386}; ListPlot[FoldList[Plus, {0, 0}, bb], PlotRange -> All, PlotJoined -> True, Axes -> False];
MATHEMATICA
Flatten[ Nest[ Flatten[ # /. {1 -> {1, 2, 3}, 2 -> {2, 1, 2}, 3 -> {3, 4, 5}, 4 -> {4, 3, 4}, 5 -> {5, 6, 1}, 6 -> {6, 5, 6}} &], {1}, 5]] (* Robert G. Wilson v, May 07 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Apr 28 2005
EXTENSIONS
Edited and corrected by Robert G. Wilson v, May 07 2005
STATUS
approved