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.

A087242 Smallest prime number p such that n+p = q is also a prime, or 0 if no such prime number exists.

Table of values

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

List of values

[2, 3, 2, 3, 2, 5, 0, 3, 2, 3, 2, 5, 0, 3, 2, 3, 2, 5, 0, 3, 2, 7, 0, 5, 0, 3, 2, 3, 2, 7, 0, 5, 0, 3, 2, 5, 0, 3, 2, 3, 2, 5, 0, 3, 2, 7, 0, 5, 0, 3, 2, 7, 0, 5, 0, 3, 2, 3, 2, 7, 0, 5, 0, 3, 2, 5, 0, 3, 2, 3, 2, 7, 0, 5, 0, 3, 2, 5, 0, 3, 2, 7, 0, 5, 0, 3, 2, 13, 0, 7, 0, 5, 0, 3, 2, 5, 0, 3, 2, 3, 2, 5, 0, 3, 2]