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.

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

Table of values

n a(n)
1 -1
2 3
3 5
4 23
5 19
6 47
7 83
8 211
9 109
10 317
11 619
12 199
13 1373
14 1123
15 1627
16 4751
17 2557
18 3413
19 4289
20 1321
21 2161
22 2477
23 7963
24 5591
25 9551
26 17239
27 15823
28 14087
29 19603
30 34963
31 36389
32 33223
33 24251
34 35603
35 43321
36 19609
37 134507
38 31393
39 136999
40 31397
41 38461
42 107357

List of values

[-1, 3, 5, 23, 19, 47, 83, 211, 109, 317, 619, 199, 1373, 1123, 1627, 4751, 2557, 3413, 4289, 1321, 2161, 2477, 7963, 5591, 9551, 17239, 15823, 14087, 19603, 34963, 36389, 33223, 24251, 35603, 43321, 19609, 134507, 31393, 136999, 31397, 38461, 107357]