%I #22 Jul 23 2019 08:45:55
%S 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,
%T 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,
%U 9,9,10,10,10,10,9,8,8,8,7,8,8
%N Langton's ant on a three-dimensional grid: number of blue cells on the grid after n moves of the ant.
%C The ant starts on a completely white grid.
%C Order of operations: turn 90 degrees, change cell color, move forward one unit.
%C The rules governing the movement of the ant and the change of cell colors are shown in the following table:
%C Cell color at | Direction of | Color the cell is
%C start of iteration | 90-degree turn | changed to
%C --------------------------------------------------------
%C white | right | black
%C black | left | blue
%C blue | up | yellow
%C yellow | down | white
%H Felix Fröhlich, <a href="/A325953/a325953_1.pdf">Illustration of iterations 0-50 of the ant</a>
%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Langton%27s_ant">Langton's ant</a>
%e See illustration in links.
%Y Cf. A255938, A325953, A325955.
%K nonn,more
%O 0,19
%A _Felix Fröhlich_, May 28 2019
%E a(51)-a(80) from _Charlie Neder_, Jun 06 2019
|