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.

A187866 Greatest k such that prime(n)*(prime(n)-k)-1 and prime(n)*(prime(n)-k)+1 are twin primes, k >= 0 and k < prime(n) or -1 if no such k exists.

Table of values

n a(n)
1 0
2 1
3 -1
4 1
5 -1
6 -1
7 11
8 7
9 17
10 17
11 -1
12 -1
13 11
14 19
15 41
16 -1
17 41
18 -1
19 43
20 53
21 -1
22 -1
23 29
24 41
25 -1
26 59
27 97
28 101
29 61
30 89
31 -1
32 101
33 131
34 127
35 137
36 73
37 133
38 127
39 137
40 119
41 47
42 163
43 101
44 157
45 131

List of values

[0, 1, -1, 1, -1, -1, 11, 7, 17, 17, -1, -1, 11, 19, 41, -1, 41, -1, 43, 53, -1, -1, 29, 41, -1, 59, 97, 101, 61, 89, -1, 101, 131, 127, 137, 73, 133, 127, 137, 119, 47, 163, 101, 157, 131]