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.

A326693 Langton's ant with three cell colors: number of black cells after n moves of the ant.

Original entry on oeis.org

0, 1, 2, 3, 4, 3, 4, 5, 6, 6, 5, 4, 3, 4, 3, 2, 1, 0, 0, 0, 1, 2, 2, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 2, 2, 1, 0, 0, 0, 1, 2, 3, 4, 3, 4, 5, 6, 6, 5, 4, 3, 4, 3, 2, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 2, 2, 1, 0, 1, 2, 2, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0
Offset: 0

Views

Author

Felix Fröhlich, Jul 19 2019

Keywords

Comments

On a white square, turn 90 degrees right, change the color to black, then move forward one unit.
On a black square, turn 90 degrees left, change the color to gray, then move forward one unit.
On a gray square, turn 180 degrees, change the color to white, then move forward one unit.
The complete configuration, including the position and direction of the ant and the color of all cells, has period 276. - Rémy Sigrist, Jul 19 2019

Examples

			See illustrations in Fröhlich, 2019.
		

Crossrefs

Formula

a(n+276) = a(n). - Rémy Sigrist, Jul 19 2019

Extensions

More terms from Rémy Sigrist, Jul 19 2019

A326694 Langton's ant with three cell colors: number of gray cells after n moves of the ant.

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 2, 3, 3, 4, 5, 6, 7, 6, 5, 5, 5, 4, 5, 6, 6, 5, 6, 5, 4, 4, 3, 4, 4, 4, 3, 4, 5, 4, 3, 3, 3, 3, 3, 4, 4, 4, 4, 3, 4, 5, 6, 6, 7, 8, 9, 10, 9, 8, 8, 7, 8, 8, 7, 8, 7, 6, 6, 6, 5, 6, 7, 7, 7, 6, 7, 8, 7, 6, 6, 5, 6, 6, 5, 6, 5, 4
Offset: 0

Views

Author

Felix Fröhlich, Jul 19 2019

Keywords

Comments

On a white square, turn 90 degrees right, change the color to black, then move forward one unit.
On a black square, turn 90 degrees left, change the color to gray, then move forward one unit.
On a gray square, turn 180 degrees, change the color to white, then move forward one unit.

Examples

			See illustrations in Fröhlich, 2019.
		

Crossrefs

Formula

a(n+276) = a(n). - Rémy Sigrist, Jul 19 2019

Extensions

More terms from Rémy Sigrist, Jul 19 2019
Showing 1-2 of 2 results.