

A325954


Langton's ant on a threedimensional grid: number of blue cells on the grid after n moves of the ant.


8



0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 2, 2, 3, 4, 4, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 4, 4, 4, 5, 5, 5, 5, 4, 5, 6, 6, 7, 8, 8, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 8, 9, 10, 9, 9, 10, 10, 10, 10, 9, 8, 8, 8, 7, 8, 8
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,19


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 the cell is
start of iteration  90degree turn  changed to

white  right  black
black  left  blue
blue  up  yellow
yellow  down  white


LINKS

Table of n, a(n) for n=0..80.
Felix Fröhlich, Illustration of iterations 050 of the ant
Wikipedia, Langton's ant


EXAMPLE

See illustration in links.


CROSSREFS

Cf. A255938, A325953, A325955.
Sequence in context: A185068 A078664 A328388 * A243503 A069581 A274061
Adjacent sequences: A325951 A325952 A325953 * A325955 A325956 A325957


KEYWORD

nonn,more


AUTHOR

Felix Fröhlich, May 28 2019


EXTENSIONS

a(51)a(80) from Charlie Neder, Jun 06 2019


STATUS

approved



