The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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. 11
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
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
LINKS
Felix Fröhlich, Illustration of iterations 0-50, 2019.
Wikipedia, Langton's ant
FORMULA
a(n + 104) = a(n) + 24 for any n >= 14373. - Rémy Sigrist, Jul 28 2019
EXAMPLE
See illustrations in Fröhlich, 2019.
PROG
(PARI) See Links section.
CROSSREFS
Sequence in context: A366637 A360700 A122640 * A299479 A185361 A245186
KEYWORD
nonn
AUTHOR
Felix Fröhlich, Jun 30 2019
EXTENSIONS
More terms from Rémy Sigrist, Jul 28 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 16:41 EDT 2024. Contains 372738 sequences. (Running on oeis4.)