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.

A339943 Let N(p,i) denote the result of applying "nextprime" i times to p; a(n) = smallest prime p such that N(p,3) - p = 2*n, or -1 if no such prime exists.

Table of values

n a(n)
1 -1
2 -1
3 -1
4 3
5 7
6 17
7 23
8 43
9 79
10 107
11 109
12 113
13 197
14 199
15 317
16 509
17 523
18 773
19 1823
20 1237
21 1319
22 3119
23 1321
24 2473
25 2153
26 4159
27 2477
28 6491
29 5581
30 7351
31 9551
32 9973
33 18803
34 18593
35 24247
36 30559
37 31883
38 33211
39 19603
40 66191
41 37699
42 31393
43 83117
44 43801
45 107351
46 107357
47 69499
48 38461
49 130859

List of values

[-1, -1, -1, 3, 7, 17, 23, 43, 79, 107, 109, 113, 197, 199, 317, 509, 523, 773, 1823, 1237, 1319, 3119, 1321, 2473, 2153, 4159, 2477, 6491, 5581, 7351, 9551, 9973, 18803, 18593, 24247, 30559, 31883, 33211, 19603, 66191, 37699, 31393, 83117, 43801, 107351, 107357, 69499, 38461, 130859]