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.

A309293 Langton's ant on a snub trihexagonal tiling: number of black cells after n moves of the ant when starting on a hexagon.

Original entry on oeis.org

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

Views

Author

Felix Fröhlich, Jul 21 2019

Keywords

Comments

On a white tile, turn 60 degrees right, flip the color of the tile, then move forward one unit.
On a black tile, turn 60 degrees left, flip the color of the tile, then move forward one unit.
The sequence has a cycle of length of 28292, that is, a(28292)=0 with the ant in the starting hexagon pointing in the start direction, so another cycle will follow. The maximum term in the cycle is a(8148)=174. - Lars Blomberg, Aug 01 2019

Examples

			See illustrations in Fröhlich, 2019.
		

Crossrefs

Extensions

More terms from Lars Blomberg, Aug 01 2019