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!)
A261990 Color of the cell Langton's Ant touches on its n-th step before the color is changed by the ant; 0=white, 1=black. 6

%I #20 Apr 07 2020 22:57:28

%S 0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,1,0,0,0,0,1,1,1,1,0,

%T 1,0,0,0,0,1,0,0,0,0,1,1,1,1,0,1,1,0,0,1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,

%U 1,0,0,0,0,1,1,1,1,0,1,0,0,0,0,1,0,0,0,0,1,1,1,1,0,1,1,0,0,0,0,1,1,0,1,0,0,0,0

%N Color of the cell Langton's Ant touches on its n-th step before the color is changed by the ant; 0=white, 1=black.

%C The ant starts from a completely white grid.

%C There are never more than four 0's or 1's in a row because four identical turns will circle back into the same cell, which will have since changed.

%C The sequence begins repeating at the 9977th step, in a cycle of length 104.

%H Aaron David Fairbanks, <a href="/A261990/b261990.txt">Table of n, a(n) for n = 0..10287</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Langton%27s_ant">Langton's Ant</a>

%e On the 0th step, the ant lands on a white square and turns it black. On the 1st step, it lands on another white square. On the 4th step, it lands on a black square, etc.

%Y Cf. A126978.

%K easy,nonn

%O 0

%A _Aaron David Fairbanks_, Sep 07 2015

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 April 16 05:35 EDT 2024. Contains 371697 sequences. (Running on oeis4.)