%I #10 May 10 2023 09:47:33
%S 0,0,1,1,0,0,-1,-1,0,1,1,2,3,2,2,1,0,-1,-1,-2,-3,-2,-2,-1,0,1,1,2,3,3,
%T 4,4,3,2,2,1,0,-1,-1,-2,-3,-3,-4,-4,-3,-2,-2,-1,0,1,2,2,3,4,4,5,6,5,4,
%U 3,3,2,1,1,0,-1,-2,-2,-3,-4,-4,-5,-6,-5,-4,-3,-3,-2,-1,-1,0,0
%N 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 distance-limited strip bijection described in A307110.
%H Hugo Pfoertner, <a href="/A362956/b362956.txt">Table of n, a(n) for n = 0..3000</a>
%H Hugo Pfoertner, <a href="https://oeis.org/plot2a?name1=A362955&name2=A362956&tform1=untransformed&tform2=untransformed&shift=0&radiop1=xy&drawlines=true">Plot of mapped spiral</a>, using Plot 2.
%o (PARI) \\ for functions ax, ay, p see A362955
%o for (k=0, 81, print1 (p(ax(k),ay(k))[2]", "))
%Y A362955 gives the corresponding x-coordinates.
%Y Cf. A174344, A274923, A307110, A307731.
%K sign
%O 0,12
%A _Hugo Pfoertner_, May 10 2023
|