OFFSET
0,3
COMMENTS
Rules for Langton's ant on edge-to-edge tilings by regular polygons: Initially, all tiles are white. On a white tile turn right, on a black tile turn left. Always flip the color of the tile, then move forward one unit. The turn angle for (triangle, square, hexagon, octagon, dodecagon) is (60, 90, 60, 45, 30).
After 276 steps all tiles are again white and the ant is on the starting tile heading in the starting direction, so the sequence repeats with a cycle length of 276.
Many other starting positions are possible which give different terms. While they all eventually repeat the cycle, lengths vary (68, 96, 276, 1320, 2092).
LINKS
Lars Blomberg, Table of n, a(n) for n = 0..276
FORMULA
a(n+276) = a(n).
CROSSREFS
KEYWORD
nonn
AUTHOR
Lars Blomberg, Aug 28 2019
STATUS
approved