login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

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

Rémy Sigrist, Table of n, a(n) for n = 0..20000

Felix Fröhlich, Illustration of iterations 0-50, 2019.

Rémy Sigrist, Representation of the grid after 20000 iterations

Rémy Sigrist, PARI program for A326352

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

Cf. A255938, A269757, A308590, A325953, A325954, A325955, A326167, A326353.

Sequence in context: A115425 A116418 A122640 * A299479 A185361 A245186

Adjacent sequences:  A326349 A326350 A326351 * A326353 A326354 A326355

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 4 13:06 EST 2021. Contains 349526 sequences. (Running on oeis4.)