A325955 Langton's ant on a three-dimensional grid: number of yellow cells on the grid after n moves of the ant.
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, 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, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 5
Offset: 0
Keywords
Examples
See illustration in links.
Links
- Jinyuan Wang, Table of n, a(n) for n = 0..10000
- Felix Fröhlich, Illustration of iterations 0-50 of the ant
- Wikipedia, Langton's ant
Formula
a(n) = a(n-28) + 4 for n >= 93504. - Jinyuan Wang, Jul 13 2025
Extensions
a(51)-a(81) from Charlie Neder, Jun 06 2019
Comments