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.

A339385 a(n) = (smallest prime >= A002182(n)) - (largest prime <= A002182(n)).

Table of values

n a(n)
2 0
3 2
4 2
5 2
6 6
7 6
8 6
9 2
10 14
11 2
12 2
13 8
14 8
15 14
16 18
17 24
18 18
19 12
20 2
21 12
22 14
23 12
24 30
25 32
26 18
27 24
28 2
29 40
30 2
31 30
32 26
33 30
34 18
35 14
36 34
37 14
38 40
39 18
40 20
41 40
42 34
43 36
44 18
45 20
46 42
47 120
48 90
49 24
50 34
51 52
52 44
53 72
54 20
55 20
56 38
57 44
58 42
59 54
60 24
61 60
62 72
63 20
64 72
65 30
66 20
67 20
68 24
69 70

List of values

[0, 2, 2, 2, 6, 6, 6, 2, 14, 2, 2, 8, 8, 14, 18, 24, 18, 12, 2, 12, 14, 12, 30, 32, 18, 24, 2, 40, 2, 30, 26, 30, 18, 14, 34, 14, 40, 18, 20, 40, 34, 36, 18, 20, 42, 120, 90, 24, 34, 52, 44, 72, 20, 20, 38, 44, 42, 54, 24, 60, 72, 20, 72, 30, 20, 20, 24, 70]