cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A269757 Number of black cells after n moves of Langton's ant on an infinite hexagonal grid, starting with only white cells.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 5, 6, 7, 8, 9, 8, 7, 8, 9, 10, 11, 10, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 18, 17, 16, 17, 18, 19, 20, 19, 18, 19, 20, 21, 22, 21, 20, 19, 18, 19, 20, 21, 22, 21, 20, 21, 22, 23, 24, 23, 22, 21, 20, 21, 22, 23, 24, 23, 22, 23, 24, 25, 26
Offset: 0

Views

Author

Felix Fröhlich, Mar 04 2016

Keywords

Comments

On a white cell, turn 60 degrees right, flip the color of the cell, then move forward one unit. On a black cell, turn 60 degrees left, flip the color of the cell, then move forward one unit.
One may see the ant as (1) living on a hexagonal tiling (as in the illustration), in which case one third of all tiles are never visited, or (2) as living on a triangular tiling, in which case these never-visited hexagonal tiles are divided between six neighboring tiles to form triangular tiles, or (3) as living on a hexagonal grid understood as a graph dual to that triangular tiling, in which case the ant travels from one vertex to another using edges. - Andrey Zabolotskiy, Oct 09 2016

Crossrefs

Extensions

More terms from Oleg Nikulin, Jul 22 2016