|
|
A326170
|
|
Let z be a sequence of distinct Gaussian integers such that z(1) = 0, z(2) = 2+i (where i denotes the imaginary unit), for n > 1, z(n+1) the Gaussian integer with least norm at one knight move from z(n) (in case of a tie, choose the value such that Im(z(n+1)/z(n))>0); a(n) is the real part of z(n).
|
|
2
|
|
|
0, 2, 1, 0, -1, 1, -1, 0, 1, -1, 0, 2, 3, 1, 2, 1, 3, 2, 0, -1, -2, -1, -3, -2, -1, -3, -4, -2, 0, -2, 0, 2, 4, 3, 2, 0, -2, -3, -2, 0, 2, 4, 3, 1, -1, -2, -3, -4, -3, -1, 1, 3, 4, 3, 1, -1, -3, -4, -5, -3, -1, 1, 3, 4, 5, 4, 2, 0, -2, -4, -5, -6, -4, -5, -4
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
|
EXAMPLE
|
See illustrations in Links section.
|
|
PROG
|
(PARI) See Links section.
|
|
CROSSREFS
|
See A326171 for the imaginary part.
|
|
KEYWORD
|
sign,fini
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|