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.

A277516 a(n) = smallest k >= 0 for which there is a sequence n = b_1 < b_2 < ... < b_t = n + k such that b_1 + b_2 +...+ b_t is a perfect square.

Table of values

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

List of values

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