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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A326166 Total number of ants after n iterations in male/female Langton's ant variation. 4

%I

%S 2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,

%T 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,

%U 6,6,6,6,6,6,6,7,7,7,7,7,7

%N Total number of ants after n iterations in male/female Langton's ant variation.

%C There are male (blue) and female (pink) ants.

%C The rules governing the behavior of the ants are as follows:

%C 1. On a white square, turn 90 degrees right, flip the color of the square, then move forward one unit.

%C 2. On a black square, turn 90 degrees left, flip the color of the square, then move forward one unit.

%C 3. If a male ant and a female ant occupy the same square, they mate and leave behind an egg.

%C 4. When two ants of the same sex meet on a square, nothing happens.

%C 5. Any ant can only mate with exactly one ant of the other sex each iteration.

%C 6. The egg hatches when the square where the egg is located is no longer occupied by another ant.

%C 7. When there is more than one egg on a square, only one of them can hatch per iteration.

%C 8. The gender of the new ant is male if the square it hatches on is white in that iteration, female otherwise.

%C 9. The color referred to in the previous rule is the color the square has in the first iteration where the new ant is alive.

%C 10. The new ant always looks in north direction (upwards) at birth.

%H Felix Fröhlich, <a href="/A326166/a326166_1.pdf">Illustration of iterations 0-100</a>

%e See illustration in links.

%Y Cf. A326167, A326168, A326169.

%K nonn,more

%O 0,1

%A _Felix Fröhlich_, Jun 09 2019

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 July 11 23:53 EDT 2020. Contains 335654 sequences. (Running on oeis4.)