login
A326694
Langton's ant with three cell colors: number of gray cells after n moves of the ant.
2
0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 2, 3, 3, 4, 5, 6, 7, 6, 5, 5, 5, 4, 5, 6, 6, 5, 6, 5, 4, 4, 3, 4, 4, 4, 3, 4, 5, 4, 3, 3, 3, 3, 3, 4, 4, 4, 4, 3, 4, 5, 6, 6, 7, 8, 9, 10, 9, 8, 8, 7, 8, 8, 7, 8, 7, 6, 6, 6, 5, 6, 7, 7, 7, 6, 7, 8, 7, 6, 6, 5, 6, 6, 5, 6, 5, 4
OFFSET
0,12
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.
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