[go: up one dir, main page]

login
A367896
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 variant of the distance-limited strip bijection described in A367150.
5
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
OFFSET
0,12
LINKS
Hugo Pfoertner, Plot of mapped spiral, using Plot 2.
PROG
(PARI) \\ See A367895 for definitions of required functions.
a367896(n) = BijectionD([ax(n), ay(n)])[2]
CROSSREFS
A367895 gives the corresponding x-coordinates.
Sequence in context: A255010 A292371 A216683 * A368123 A368128 A362956
KEYWORD
sign
AUTHOR
STATUS
approved