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.

A333839 a(n) = Sum_{k = 4..n} ((prevprime(k) + nextprime(k))/2 - k).

Table of values

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

List of values

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