A342563 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 z-coordinates.
0, -1, 0, 0, 0, 0, 1, -1, -1, -1, -1, 0, 0, 0, 0, 1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -2, 0, 0, 0, 0, 2, -2, -2, -2, -2, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, -2, -2, -2, -2, -1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, -2, -2, -2, -2, 0, 0, 0, 0, 2, 2, 2, 2
Offset: 0
Keywords
Examples
See A342561.
Links
- Hugo Pfoertner, Table of n, a(n) for n = 0..10130
Crossrefs
Programs
-
PARI
A342563_vec=concat([[P[3] | P<-shell(n)] | n<-[0..7]]) \\ See A342561 for shell(). - M. F. Hasler, Apr 27 2021