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.

A053615 Pyramidal sequence: distance to nearest product of two consecutive integers (promic or heteromecic numbers).

Table of values

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

List of values

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