login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A342562
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.
6
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, 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, -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
OFFSET
0,30
LINKS
EXAMPLE
See A342561.
PROG
(PARI) A342562_vec=concat([[P[2] | P<-shell(n)] | n<-[0..7]]) \\ See A342561 for shell(). - M. F. Hasler, Apr 27 2021
CROSSREFS
Cf. A305575, A305576, A342561 (x-coordinates), A342563 (z-coordinates).
Sequence in context: A263577 A343631 A342561 * A343632 A067109 A237584
KEYWORD
sign,look
AUTHOR
Hugo Pfoertner, Apr 27 2021
STATUS
approved