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.

A309241 Langton's ant on a rhombitrihexagonal 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, 3, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 11, 12, 13, 14, 15, 16, 15, 14, 13, 12, 11, 10, 11, 10, 9, 8, 7, 8, 9, 10, 11, 12, 13, 12, 13, 14, 13, 12, 13, 14, 15, 16, 15, 14, 15, 14, 13, 14, 15, 14, 15, 16, 17, 18, 17, 18, 19, 20, 21, 22, 21, 20, 21
Offset: 0

Views

Author

Felix Fröhlich, Jul 17 2019

Keywords

Comments

On a white hexagon, turn 60 degrees right, flip the color of the cell, then move forward one unit.
On a black hexagon, turn 60 degrees left, flip the color of the cell, then move forward one unit.
On a white square, turn 90 degrees right, flip the color of the cell, then move forward one unit.
On a black square, turn 90 degrees left, flip the color of the cell, then move forward one unit.
On a white triangle, turn 60 degrees right, flip the color of the cell, then move forward one unit.
On a black triangle, turn 60 degrees left, flip the color of the cell, then move forward one unit.

Examples

			See illustrations in Fröhlich, 2019.
		

Crossrefs

Formula

a(n+448) = a(n). - Lars Blomberg, Aug 16 2019

Extensions

More terms from Lars Blomberg, Aug 16 2019