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.

A363544 Least prime p such that 2n can be written as the sum or absolute difference of p and the next prime, or -1 if no such prime exists.

Table of values

n a(n)
0 -1
1 3
2 7
3 23
4 3
5 139
6 5
7 113
8 1831
9 7
10 887
11 1129
12 11
13 2477
14 2971
15 13
16 5591
17 1327
18 17
19 30593
20 19333
21 19
22 15683
23 81463
24 28229
25 31907
26 23
27 35617
28 82073
29 44293
30 29
31 34061
32 89689
33 162143
34 31
35 173359
36 31397
37 404597
38 212701
39 37
40 542603
41 265621
42 41
43 155921
44 544279
45 43
46 927869
47 1100977

List of values

[-1, 3, 7, 23, 3, 139, 5, 113, 1831, 7, 887, 1129, 11, 2477, 2971, 13, 5591, 1327, 17, 30593, 19333, 19, 15683, 81463, 28229, 31907, 23, 35617, 82073, 44293, 29, 34061, 89689, 162143, 31, 173359, 31397, 404597, 212701, 37, 542603, 265621, 41, 155921, 544279, 43, 927869, 1100977]