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.

A151925 Write n as a sum of positive squares a^2+b^2+c^2+... with gcd(a,b,...) = 1; a(n) = minimal number of squares needed.

Table of values

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

List of values

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