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.

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

Table of values

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

List of values

[0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 2, 2, 3, 3, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4, 3, 3, 3, 4, 4, 3, 4, 4, 4, 4, 3, 4, 4, 5, 4, 4, 4, 4, 5, 4, 5, 5, 4, 4, 4, 5, 4, 6, 5, 5, 6, 4, 5, 5, 5, 5, 6, 5, 4, 6, 5, 5, 5, 6, 5, 6, 6, 5, 6, 5, 5, 6, 6, 5, 6, 6, 5, 7, 5, 6, 6, 6, 6, 6, 6, 5, 6, 6, 7, 6, 8, 6, 6, 7, 5, 6, 6, 7, 6]