OFFSET
0,3
COMMENTS
On a white tile, turn 60 degrees right, flip the color of the tile, then move forward one unit.
On a black tile, turn 60 degrees left, flip the color of the tile, then move forward one unit.
The sequence has a cycle of length of 28292, that is, a(28292)=0 with the ant in the starting hexagon pointing in the start direction, so another cycle will follow. The maximum term in the cycle is a(8148)=174. - Lars Blomberg, Aug 01 2019
LINKS
Lars Blomberg, Table of n, a(n) for n = 0..28292
Lars Blomberg, The state for n=8148, when 174 cells are set
Lars Blomberg, Video illustrating a full cycle
Felix Fröhlich, Illustration of iterations 0-50 of the ant, 2019.
Wikipedia, Langton's ant
Wikipedia, Snub trihexagonal tiling
EXAMPLE
See illustrations in Fröhlich, 2019.
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Fröhlich, Jul 21 2019
EXTENSIONS
More terms from Lars Blomberg, Aug 01 2019
STATUS
approved