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.

A294078 a(n) is the smallest even number k such that k*prime(n) - 1 or k*prime(n) + 1 is prime.

Table of values

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

List of values

[2, 2, 2, 2, 2, 4, 4, 2, 2, 2, 2, 2, 2, 4, 6, 2, 6, 6, 4, 4, 4, 2, 2, 2, 2, 6, 6, 6, 6, 2, 4, 2, 4, 2, 8, 6, 2, 4, 10, 2, 2, 6, 2, 4, 4, 2, 2, 8, 4, 2, 2, 2, 6, 2, 6, 4, 6, 2, 4, 2, 6, 2, 2, 6, 6, 6, 2, 2, 6, 8, 10, 2, 2, 4, 2, 4, 6, 6, 8, 4]