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.

A063933 Difference between n and the average of largest prime less than or equal to n and smallest prime greater than or equal to n.

Table of values

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

List of values

[0, 0, 0, 0, 0, 0, -1, 0, 1, 0, 0, 0, -1, 0, 1, 0, 0, 0, -1, 0, 1, 0, -2, -1, 0, 1, 2, 0, 0, 0, -2, -1, 0, 1, 2, 0, -1, 0, 1, 0, 0, 0, -1, 0, 1, 0, -2, -1, 0, 1, 2, 0, -2, -1, 0, 1, 2, 0, 0, 0, -2, -1, 0, 1, 2, 0, -1, 0, 1, 0, 0, 0, -2, -1, 0, 1, 2, 0, -1, 0, 1, 0, -2, -1, 0, 1, 2, 0, -3, -2, -1, 0, 1, 2, 3, 0, -1, 0, 1, 0, 0, 0, -1, 0, 1, 0, 0, 0, -1, 0, 1, 0]