%I #20 Mar 03 2024 17:18:00
%S 0,0,0,1,0,-1,0,0,1,0,-1,1,1,-1,-1,0,1,0,-1,1,1,-1,-1,1,1,-1,-1,0,0,2,
%T 0,-2,0,0,1,0,-1,0,2,0,-2,1,2,2,1,-1,-2,-2,-1,0,2,0,-2,0,1,0,-1,1,1,
%U -1,-1,1,2,2,1,-1,-2,-2,-1,1,2,2,1,-1,-2,-2,-1,1,1,-1,-1,0,2,0,-2,2,2,-2,-2,0,2,0,-2
%N List points (x,y,z) having integer coordinates, sorted first by R=x^2+y^2+z^2 and in case of ties, then by z and last by polar angle 0 <= phi < 2*Pi in a polar coordinate system. Sequence gives y-coordinates.
%H Hugo Pfoertner, <a href="/A342562/b342562.txt">Table of n, a(n) for n = 0..10130</a>
%e See A342561.
%o (PARI) A342562_vec=concat([[P[2] | P<-shell(n)] | n<-[0..7]]) \\ See A342561 for shell(). - _M. F. Hasler_, Apr 27 2021
%Y Cf. A305575, A305576, A342561 (x-coordinates), A342563 (z-coordinates).
%K sign,look
%O 0,30
%A _Hugo Pfoertner_, Apr 27 2021
|