%I #22 Jul 23 2019 08:46:15
%S 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,
%T 0,0,0,1,1,1,1,1,1,1,2,2,2,1,1,1,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,
%U 2,2,2,2,2,2,3,4,4,4,5,5,5,5
%N Langton's ant on a three-dimensional grid: number of yellow 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, A325954.
%K nonn,more
%O 0,17
%A _Felix Fröhlich_, May 28 2019
%E a(51)-a(81) from _Charlie Neder_, Jun 06 2019