login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A274370 Let the starting square of Langton's ant have coordinates (0, 0), with the ant looking in negative x-direction. a(n) is the y-coordinate of the ant after n moves. 4
0, 1, 1, 0, 0, -1, -1, 0, 0, -1, -1, -2, -2, -1, -1, 0, 0, -1, -1, -2, -2, -3, -3, -2, -2, -1, -1, -2, -2, -1, -1, -2, -2, -1, -1, 0, 0, -1, -1, 0, 0, 1, 1, 0, 0, -1, -1, 0, 0, 1, 1, 0, 0, 1, 1, 2, 2, 1, 1, 0, 0, 1, 1, 2, 2, 3, 3, 2, 2, 1, 1, 2, 2, 1, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,12

LINKS

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

Felix Fröhlich, Coordinates of Langton's ant.

Wikipedia, Langton's ant.

FORMULA

a(n+104) = a(n) - 2 for n > 9975. - Andrey Zabolotskiy, Jul 05 2016

CROSSREFS

Cf. A274369 (x-coordinate).

Cf. A102358, A102369, A204810, A255938, A261990, A269757.

Sequence in context: A124478 A030353 A089617 * A128521 A090477 A293019

Adjacent sequences:  A274367 A274368 A274369 * A274371 A274372 A274373

KEYWORD

sign,look

AUTHOR

Felix Fröhlich, Jun 19 2016

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 6 19:22 EST 2019. Contains 329809 sequences. (Running on oeis4.)