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.

A354330 Distance from the sum of the first n positive triangular numbers to the nearest triangular number.

Table of values

n a(n)
0 0
1 0
2 1
3 0
4 1
5 1
6 1
7 6
8 0
9 6
10 10
11 10
12 13
13 10
14 1
15 14
16 4
17 21
18 12
19 4
20 0
21 1
22 8
23 22
24 28
25 1
26 36
27 1
28 35
29 30
30 10
31 4
32 11
33 10
34 0
35 20
36 51
37 41
38 10
39 71
40 4
41 62
42 41
43 6
44 45
45 75
46 91
47 88
48 97
49 85
50 55
51 10
52 51
53 100
54 10
55 99
56 20
57 124
58 29
59 56
60 130
61 90
62 48
63 20
64 7
65 10
66 30
67 68
68 125
69 136

List of values

[0, 0, 1, 0, 1, 1, 1, 6, 0, 6, 10, 10, 13, 10, 1, 14, 4, 21, 12, 4, 0, 1, 8, 22, 28, 1, 36, 1, 35, 30, 10, 4, 11, 10, 0, 20, 51, 41, 10, 71, 4, 62, 41, 6, 45, 75, 91, 88, 97, 85, 55, 10, 51, 100, 10, 99, 20, 124, 29, 56, 130, 90, 48, 20, 7, 10, 30, 68, 125, 136]