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.

A051701 Closest prime to n-th prime p that is different from p (break ties by taking the smaller prime).

Table of values

n a(n)
1 3
2 2
3 3
4 5
5 13
6 11
7 19
8 17
9 19
10 31
11 29
12 41
13 43
14 41
15 43
16 47
17 61
18 59
19 71
20 73
21 71
22 83
23 79
24 83
25 101
26 103
27 101
28 109
29 107
30 109
31 131
32 127
33 139
34 137
35 151
36 149
37 151
38 167
39 163
40 167
41 181
42 179
43 193
44 191
45 199
46 197
47 199
48 227
49 229
50 227
51 229
52 241
53 239
54 257
55 251
56 257
57 271
58 269

List of values

[3, 2, 3, 5, 13, 11, 19, 17, 19, 31, 29, 41, 43, 41, 43, 47, 61, 59, 71, 73, 71, 83, 79, 83, 101, 103, 101, 109, 107, 109, 131, 127, 139, 137, 151, 149, 151, 167, 163, 167, 181, 179, 193, 191, 199, 197, 199, 227, 229, 227, 229, 241, 239, 257, 251, 257, 271, 269]