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").
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.