[go: up one dir, main page]

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

A368128
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 A368126.
3
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, 1, 1, 2, 3, 4, 4, 5, 6, 5, 4, 4, 3, 2, 1, 0, 0, -1, -1, -2, -3, -4, -4, -5, -6, -5, -4, -4, -3, -2, -1, 0, 0, 1, 2, 2, 3, 4
OFFSET
0,12
PROG
(PARI) \\ Identical to a368127(n), but with
a368128(n) = BijectionD([ax(n), ay(n)], Bijectionk)[2];
CROSSREFS
A368127 gives the corresponding x-coordinates.
Sequence in context: A216683 A367896 A368123 * A362956 A323326 A274884
KEYWORD
sign
AUTHOR
Hugo Pfoertner, Jan 07 2024
STATUS
approved