OFFSET
0,3
COMMENTS
The ant starts on a completely white grid.
Order of operations: turn 90 degrees, change cell color, move forward one unit.
The rules governing the movement of the ant and the change of cell colors are shown in the following table:
Cell color at | Direction of | Color to which the
start of iteration | 90-degree turn | cell is changed
-------------------+----------------+-------------------
white | right | black
black | left | blue
blue | up | yellow
yellow | down | white
The first differences of this sequence are ultimately periodic with period 28 beginning at generation 93475, see A308563. - Charlie Neder, Jun 10 2019
LINKS
Felix Fröhlich, Illustration of iterations 0-50 of the ant
Wikipedia, Langton's ant
Charlie Neder, Python program for running this automaton
EXAMPLE
See illustration in links.
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Fröhlich, May 28 2019
EXTENSIONS
a(51)-a(68) from Charlie Neder, Jun 06 2019
STATUS
approved