cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A342561 List points (x,y,z) having integer coordinates, sorted first by R^2 = 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 x-coordinates.

Table of values

n a(n)
0 0
1 0
2 1
3 0
4 -1
5 0
6 0
7 1
8 0
9 -1
10 0
11 1
12 -1
13 -1
14 1
15 1
16 0
17 -1
18 0
19 1
20 -1
21 -1
22 1
23 1
24 -1
25 -1
26 1
27 0
28 2
29 0
30 -2
31 0
32 0
33 1
34 0
35 -1
36 0
37 2
38 0
39 -2
40 0
41 2
42 1
43 -1
44 -2
45 -2
46 -1
47 1
48 2
49 2
50 0
51 -2
52 0
53 1
54 0
55 -1
56 0
57 1
58 -1
59 -1
60 1
61 2
62 1
63 -1
64 -2
65 -2
66 -1
67 1
68 2
69 2
70 1
71 -1
72 -2
73 -2
74 -1
75 1
76 2
77 1
78 -1
79 -1
80 1
81 2
82 0
83 -2
84 0
85 2
86 -2
87 -2
88 2
89 2
90 0
91 -2
92 0

List of values

[0, 0, 1, 0, -1, 0, 0, 1, 0, -1, 0, 1, -1, -1, 1, 1, 0, -1, 0, 1, -1, -1, 1, 1, -1, -1, 1, 0, 2, 0, -2, 0, 0, 1, 0, -1, 0, 2, 0, -2, 0, 2, 1, -1, -2, -2, -1, 1, 2, 2, 0, -2, 0, 1, 0, -1, 0, 1, -1, -1, 1, 2, 1, -1, -2, -2, -1, 1, 2, 2, 1, -1, -2, -2, -1, 1, 2, 1, -1, -1, 1, 2, 0, -2, 0, 2, -2, -2, 2, 2, 0, -2, 0]