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.

A122924 Express n as the sum of four squares, x^2+y^2+z^2+w^2, x>=y>=z>=w>=0, sequentially minimizing the value of x, y and z. a(n) is that w.

Table of values

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

List of values

[0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 2, 0, 1, 3, 1, 2, 1, 2, 0, 1, 3, 1, 2, 1, 2, 0, 1, 3, 1, 2, 2, 2, 1, 0, 3, 1, 3, 1, 2, 1, 2, 4, 2, 3, 1, 3, 1, 2, 1, 2, 4, 2, 3, 1, 3, 1, 2, 2, 2, 4, 3, 3, 2, 3, 1, 0, 1, 2, 4, 2, 4, 2, 3, 0, 3, 1, 3, 5, 2, 4, 2, 4]