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.

A375202 a(n) is the least integer x >= 0 such that n = x^2 + y^2 + z^2 for some integers y, z, or -1 if there is no such x.

Table of values

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

List of values

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