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.

A309877 a(n) is the smallest number k such that the difference between the next prime greater than k and k equals n.

Table of values

n a(n)
1 1
2 0
3 8
4 7
5 24
6 23
7 90
8 89
9 118
10 117
11 116
12 115
13 114
14 113
15 526
16 525
17 524
18 523
19 888
20 887
21 1130
22 1129
23 1338
24 1337
25 1336
26 1335
27 1334
28 1333
29 1332
30 1331
31 1330
32 1329
33 1328
34 1327
35 9552
36 9551
37 15690
38 15689
39 15688
40 15687
41 15686
42 15685
43 15684
44 15683
45 19616
46 19615
47 19614
48 19613
49 19612
50 19611

List of values

[1, 0, 8, 7, 24, 23, 90, 89, 118, 117, 116, 115, 114, 113, 526, 525, 524, 523, 888, 887, 1130, 1129, 1338, 1337, 1336, 1335, 1334, 1333, 1332, 1331, 1330, 1329, 1328, 1327, 9552, 9551, 15690, 15689, 15688, 15687, 15686, 15685, 15684, 15683, 19616, 19615, 19614, 19613, 19612, 19611]