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.

A237259 Least positive integer k < n such that prime(k) + 2 and prime(prime(n-k)) + 2 are both prime, or 0 if such a number k does not exist.

Table of values

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

List of values

[0, 0, 2, 2, 2, 2, 3, 2, 2, 3, 5, 5, 7, 7, 2, 2, 3, 5, 5, 7, 7, 20, 10, 10, 2, 2, 3, 5, 5, 7, 2, 2, 3, 5, 5, 7, 7, 35, 10, 10, 17, 2, 3, 20, 5, 17, 7, 35, 20, 10, 28, 28, 13, 41, 26, 26, 17, 28, 35, 20, 2, 3, 33, 5, 2, 3, 2, 3, 10, 5]