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!)
A309166 Langton's ant on a truncated hexagonal tiling: number of black cells after n moves of the ant when starting on a dodecagon and looking towards an edge where the dodecagon meets a triangle. 5
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 11, 12, 13, 14, 15, 16, 15, 14, 15, 16, 17, 18, 19, 20, 19, 18, 17, 16, 17, 18, 19, 20, 21, 22, 23, 22, 23, 24, 25, 26, 27, 26, 27, 28, 29, 30, 31, 30, 29, 30, 31, 32, 33, 34, 33, 32, 33, 32 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
On a white dodecagon, turn 30 degrees right, flip the color of the tile, then move forward one unit.
On a black dodecagon, turn 30 degrees left, flip the color of the tile, then move forward one unit.
On a white triangle, turn 60 degrees right, flip the color of the tile, then move forward one unit.
On a black triangle, turn 60 degrees left, flip the color of the tile, then move forward one unit.
LINKS
Sean A. Irvine, Java program (github)
Wikipedia, Langton's ant
FORMULA
a(n+15) = a(n) + 9 for n > 2034. - Lars Blomberg, Aug 13 2019
EXAMPLE
See illustrations in Fröhlich, 2019.
CROSSREFS
Sequence in context: A291571 A341191 A232897 * A028903 A081599 A289642
KEYWORD
nonn
AUTHOR
Felix Fröhlich, Jul 15 2019
EXTENSIONS
More terms from Sean A. Irvine, Jul 22 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 July 12 03:24 EDT 2024. Contains 374237 sequences. (Running on oeis4.)