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.

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

Table of values

n a(n)
1 -1
2 -1
3 -1
4 -1
5 3
6 5
7 17
8 13
9 19
10 47
11 79
12 73
13 113
14 109
15 193
16 317
17 313
18 521
19 503
20 523
21 887
22 1499
23 1231
24 1319
25 1373
26 1321
27 1307
28 3947
29 2473
30 2143
31 2477
32 7369
33 5573
34 5939
35 9967
36 16111
37 18587
38 20773
39 18593
40 31883
41 17209
42 19597
43 24251
44 19609
45 25471
46 31397
47 44389
48 18803
49 38459
50 38461
51 66191
52 69557
53 103183

List of values

[-1, -1, -1, -1, 3, 5, 17, 13, 19, 47, 79, 73, 113, 109, 193, 317, 313, 521, 503, 523, 887, 1499, 1231, 1319, 1373, 1321, 1307, 3947, 2473, 2143, 2477, 7369, 5573, 5939, 9967, 16111, 18587, 20773, 18593, 31883, 17209, 19597, 24251, 19609, 25471, 31397, 44389, 18803, 38459, 38461, 66191, 69557, 103183]