[go: up one dir, main page]

login
A368123
a(n) is the y-coordinate of the n-th point in a square spiral mapped to a square grid rotated by Pi/4 using the symmetrized variant of the distance-limited strip bijection described in A368121.
2
0, 1, 1, 1, 0, -1, -1, -1, 0, 0, 1, 2, 3, 2, 2, 1, 0, 0, -1, -2, -3, -2, -2, -1, 0, 1, 2, 2, 3, 3, 4, 3, 3, 2, 2, 1, 0, -1, -2, -2, -3, -3, -4, -3, -3, -2, -2, -1, 0, 0, 1, 2, 3, 4, 4, 5, 6, 5, 4, 4, 3, 2, 1, 1, 0, 0, -1, -2, -3, -4, -4, -5, -6, -5, -4, -4, -3, -2, -1, -1, 0, 1, 1, 2, 3, 3
OFFSET
0,12
PROG
(PARI) \\ Identical to a368122(n), but with
a368123(n) = BijectionD([ax(n), ay(n)], BijectionK)[2];
CROSSREFS
A368122 gives the corresponding x-coordinates.
Sequence in context: A292371 A216683 A367896 * A368128 A362956 A323326
KEYWORD
sign
AUTHOR
Hugo Pfoertner, Jan 06 2024
STATUS
approved