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.

A309166 Langton's ant on a truncated hexagonal tiling: number of black cells after n moves of the ant when starting on a dodecagon and looking towards an edge where the dodecagon meets a triangle.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 11, 12, 13, 14, 15, 16, 15, 14, 15, 16, 17, 18, 19, 20, 19, 18, 17, 16, 17, 18, 19, 20, 21, 22, 23, 22, 23, 24, 25, 26, 27, 26, 27, 28, 29, 30, 31, 30, 29, 30, 31, 32, 33, 34, 33, 32, 33, 32
Offset: 0

Views

Author

Felix Fröhlich, Jul 15 2019

Keywords

Comments

On a white dodecagon, turn 30 degrees right, flip the color of the tile, then move forward one unit.
On a black dodecagon, turn 30 degrees left, flip the color of the tile, then move forward one unit.
On a white triangle, turn 60 degrees right, flip the color of the tile, then move forward one unit.
On a black triangle, turn 60 degrees left, flip the color of the tile, then move forward one unit.

Examples

			See illustrations in Fröhlich, 2019.
		

Crossrefs

Formula

a(n+15) = a(n) + 9 for n > 2034. - Lars Blomberg, Aug 13 2019

Extensions

More terms from Sean A. Irvine, Jul 22 2019