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.

A230038 Distance between n^2 and the smallest triangular number >= n^2.

Table of values

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

List of values

[0, 2, 1, 5, 3, 0, 6, 2, 10, 5, 15, 9, 2, 14, 6, 20, 11, 1, 17, 6, 24, 12, 32, 19, 5, 27, 12, 36, 20, 3, 29, 11, 39, 20, 0, 30, 9, 41, 19, 53, 30, 6, 42, 17, 55, 29, 2, 42, 14, 56, 27, 71, 41, 10, 56, 24, 72, 39, 5, 55, 20, 72, 36, 90, 53, 15, 71, 32, 90, 50, 9, 69, 27, 89, 46, 2, 66, 21, 87, 41, 109, 62]