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.

A335185 a(n) = nextprime(ceiling(n/2)-1) - prevprime(floor(n/2)+1), where nextprime = A151800 and prevprime = A151799.

Table of values

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

List of values

[0, 1, 0, 2, 2, 2, 0, 2, 2, 2, 0, 4, 4, 4, 4, 4, 4, 4, 0, 2, 2, 2, 0, 4, 4, 4, 4, 4, 4, 4, 0, 2, 2, 2, 0, 4, 4, 4, 4, 4, 4, 4, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 2, 2, 2, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 0, 4, 4, 4, 4, 4, 4, 4, 0, 2, 2, 2, 0, 4, 4, 4, 4, 4, 4, 4, 0, 6, 6, 6]