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.

A070176 Let s(n) be smallest number >= n which is a sum of two squares (A001481); sequence gives s(n) - n.

Table of values

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

List of values

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