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.

A053188 Distance from n to nearest square.

Table of values

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

List of values

[0, 0, 1, 1, 0, 1, 2, 2, 1, 0, 1, 2, 3, 3, 2, 1, 0, 1, 2, 3, 4, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4]