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.

A229118 Distance from the n-th triangular number to the nearest square.

Table of values

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

List of values

[0, 1, 2, 1, 1, 4, 3, 0, 4, 6, 2, 3, 9, 5, 1, 8, 9, 2, 6, 14, 6, 3, 13, 11, 1, 10, 17, 6, 6, 19, 12, 1, 15, 19, 5, 10, 26, 12, 4, 21, 20, 3, 15, 29, 11, 8, 28, 20, 0, 21, 30, 9, 13, 36, 19, 4, 28, 30, 6, 19, 42, 17, 9, 36, 29, 2, 26, 42, 14, 15, 45, 27, 3, 34, 41, 10, 22, 55, 24, 9, 43, 39, 5, 30, 55, 20, 16, 53, 36, 1]