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.

Showing 1-2 of 2 results.

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

A325631 Langton's ant on an elongated triangular tiling: number of black cells after n moves of the ant when starting on a square and initially looking towards one of the edges where that square meets one of the neighboring triangles.

Original entry on oeis.org

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

Views

Author

Felix Fröhlich, Sep 07 2019

Keywords

Comments

First differs from A276073 at n = 22.
On a white square, turn 90 degrees right, 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 square, turn 90 degrees left, 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) = a(n-51) + 11 for n >= 1159. - Jinyuan Wang, Jul 15 2025

Extensions

More terms from Jinyuan Wang, Jul 15 2025
Showing 1-2 of 2 results.