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.

A096870 Difference between the n-th repunit and the previous prime.

Table of values

n a(n)
2 4
3 2
4 2
5 18
6 2
7 20
8 10
9 2
10 14
11 52
12 8
13 18
14 58
15 58
16 72
17 4
18 20
19 74
20 84
21 58
22 14
23 18
24 82
25 168
26 28
27 50
28 168
29 84
30 8
31 138
32 112
33 82
34 2
35 28
36 2
37 62
38 34
39 50
40 74
41 24
42 8
43 54
44 204
45 22
46 428
47 40
48 118
49 200
50 72
51 40
52 30
53 42
54 284
55 44
56 114
57 268
58 80
59 18
60 4
61 74
62 142
63 182
64 140
65 112
66 214
67 152
68 90

List of values

[4, 2, 2, 18, 2, 20, 10, 2, 14, 52, 8, 18, 58, 58, 72, 4, 20, 74, 84, 58, 14, 18, 82, 168, 28, 50, 168, 84, 8, 138, 112, 82, 2, 28, 2, 62, 34, 50, 74, 24, 8, 54, 204, 22, 428, 40, 118, 200, 72, 40, 30, 42, 284, 44, 114, 268, 80, 18, 4, 74, 142, 182, 140, 112, 214, 152, 90]