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.

A326352 Total number of black cells after n iterations of Langton's ant with two ants on the grid placed side-by-side with one empty square between them and initially looking in the same direction.

Original entry on oeis.org

0, 2, 4, 6, 8, 6, 6, 6, 6, 8, 6, 8, 10, 12, 14, 12, 12, 12, 12, 14, 12, 12, 12, 12, 14, 12, 14, 16, 18, 20, 18, 18, 16, 16, 18, 16, 18, 20, 22, 24, 22, 22, 22, 22, 24, 22, 22, 22, 22, 24, 22, 24, 26, 28, 30, 28, 28, 26, 26, 28, 28, 30, 30, 32, 34, 34, 36, 34
Offset: 0

Views

Author

Felix Fröhlich, Jun 30 2019

Keywords

Comments

The two ants meet seven times; in that case, the color of the current square is flipped only once. Eventually, both ants build a recurrent highway pattern. - Rémy Sigrist, Jul 28 2019

Examples

			See illustrations in Fröhlich, 2019.
		

Crossrefs

Programs

  • PARI
    See Links section.

Formula

a(n + 104) = a(n) + 24 for any n >= 14373. - Rémy Sigrist, Jul 28 2019

Extensions

More terms from Rémy Sigrist, Jul 28 2019