login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A360170
a(n) is the X-coordinate after n steps of an infinite knight's tour through all lattice points; see A360171 for the Y-coordinates.
2
0, 1, -1, -2, 0, 2, 1, -1, -2, -1, 1, 2, 0, -2, -1, 1, 2, 0, -2, -1, -2, 0, 2, 1, 2, 3, 1, -1, -3, -4, -3, -4, -2, 0, 2, 4, 3, 4, 3, 1, -1, -3, -4, -3, -4, -3, -1, 1, 3, 4, 3, 4, 2, 0, -2, -4, -3, -4, -3, -1, 1, 3, 4, 3, 4, 2, 0, -2, -4, -3, -4, -3, -4, -2, 0
OFFSET
0,4
COMMENTS
See A068608 for similar sequences.
LINKS
Robert Bosch and Zejian Huang, Structured Knight’s Tours
Mathematics StackExchange, Infinite Knight's Tour
Rémy Sigrist, Illustration of the first steps (where colors denote the direction to the next position)
Rémy Sigrist, PARI program
Dan Thomasson, Knight's Tour Art
Wikipedia, Knight's tour
Wolfram Demonstrations Project, An Infinite Knight's Tour
FORMULA
a(n) = A174344(A068613(n+1)).
EXAMPLE
See illustration of the first steps in Links section.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
sign
AUTHOR
Rémy Sigrist, Jan 28 2023
STATUS
approved