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.

A101042 a(n) is the smallest positive d such that the n-th prime is the smallest prime p for which p+d is also prime.

Table of values

n a(n)
1 1
2 2
3 6
4 22
5 116
6 88
7 470
8 112
9 284
10 242
11 202
12 772
13 1326
14 718
15 1334
16 1328
17 2558
18 1762
19 1642
20 2402
21 3274
22 1732
23 7094
24 9512
25 7984
26 5246
27 12688
28 10532
29 9952
30 16766
31 7702
32 60458
33 9974
34 25708
35 5888
36 13528
37 10342
38 25678
39 62156
40 69518
41 76838
42 37666

List of values

[1, 2, 6, 22, 116, 88, 470, 112, 284, 242, 202, 772, 1326, 718, 1334, 1328, 2558, 1762, 1642, 2402, 3274, 1732, 7094, 9512, 7984, 5246, 12688, 10532, 9952, 16766, 7702, 60458, 9974, 25708, 5888, 13528, 10342, 25678, 62156, 69518, 76838, 37666]