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.

A002828 Least number of squares that add up to n.

Table of values

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

List of values

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