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

 Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS"). 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.

Last modified December 5 12:04 EST 2020. Contains 338947 sequences. (Running on oeis4.)