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.

A122923 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 z.

Table of values

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

List of values

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