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.

A122922 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, then minimizing y for that x. a(n) is that y.

Table of values

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

List of values

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