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.

A381532 Smallest integer k>0 such that prime(n) + k*prime(n+1) is prime.

Table of values

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

List of values

[1, 2, 2, 2, 2, 2, 6, 6, 4, 8, 4, 6, 2, 2, 10, 10, 2, 6, 12, 6, 4, 6, 4, 2, 14, 2, 2, 6, 6, 2, 2, 6, 6, 6, 20, 6, 4, 8, 4, 16, 2, 2, 2, 2, 8, 10, 4, 2, 6, 6, 6, 14, 2, 4, 10, 6, 2, 6, 2, 6, 18, 2, 2, 2, 2, 12, 10, 2, 6, 6, 4, 2, 22, 4, 6, 10, 12, 6, 8, 8, 12, 2]