OFFSET
1,2
COMMENTS
This sequence is inspired by A316667.
Two Gaussian integers, say u and v, are at one knight move from each other when {abs(Re(u-v)), abs(Im(u-v))} = {1,2}.
The sequence is finite and has 37287 terms; at z(37287) = -23 + 99*i, the knight is trapped.
LINKS
Rémy Sigrist, Illustration of the first 100 terms
Rémy Sigrist, Figure showing the complete sequence (the black pixel at position X=-23 and Y=99 corresponds to the last term)
Rémy Sigrist, PARI program for A326170
EXAMPLE
See illustrations in Links section.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
sign,fini
AUTHOR
Rémy Sigrist, Jun 10 2019
STATUS
approved