login
A326693
Langton's ant with three cell colors: number of black cells after n moves of the ant.
3
0, 1, 2, 3, 4, 3, 4, 5, 6, 6, 5, 4, 3, 4, 3, 2, 1, 0, 0, 0, 1, 2, 2, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 2, 2, 1, 0, 0, 0, 1, 2, 3, 4, 3, 4, 5, 6, 6, 5, 4, 3, 4, 3, 2, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 2, 2, 1, 0, 1, 2, 2, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0
OFFSET
0,3
COMMENTS
On a white square, turn 90 degrees right, change the color to black, then move forward one unit.
On a black square, turn 90 degrees left, change the color to gray, then move forward one unit.
On a gray square, turn 180 degrees, change the color to white, then move forward one unit.
The complete configuration, including the position and direction of the ant and the color of all cells, has period 276. - Rémy Sigrist, Jul 19 2019
FORMULA
a(n+276) = a(n). - Rémy Sigrist, Jul 19 2019
EXAMPLE
See illustrations in Fröhlich, 2019.
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Fröhlich, Jul 19 2019
EXTENSIONS
More terms from Rémy Sigrist, Jul 19 2019
STATUS
approved