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.

A329273 a(1)=1. If n is prime, a(n)=0; if not, a(n) = (the smallest prime number greater than n) minus (the largest prime number smaller than n) minus 1.

Table of values

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

List of values

[1, 0, 0, 1, 0, 1, 0, 3, 3, 3, 0, 1, 0, 3, 3, 3, 0, 1, 0, 3, 3, 3, 0, 5, 5, 5, 5, 5, 0, 1, 0, 5, 5, 5, 5, 5, 0, 3, 3, 3, 0, 1, 0, 3, 3, 3, 0, 5, 5, 5, 5, 5, 0, 5, 5, 5, 5, 5, 0, 1, 0, 5, 5, 5, 5, 5, 0, 3, 3, 3, 0, 1, 0, 5, 5, 5, 5, 5, 0, 3, 3, 3, 0, 5, 5, 5, 5, 5, 0, 7, 7, 7, 7, 7, 7, 7, 0, 3, 3, 3]