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.

A137328 a(n) = prime(n) - primorial(k), where k is the greatest number for which primorial(k) <= prime(n).

Table of values

n a(n)
1 0
2 1
3 3
4 1
5 5
6 7
7 11
8 13
9 17
10 23
11 1
12 7
13 11
14 13
15 17
16 23
17 29
18 31
19 37
20 41
21 43
22 49
23 53
24 59
25 67
26 71
27 73
28 77
29 79
30 83
31 97
32 101
33 107
34 109
35 119
36 121
37 127
38 133
39 137
40 143
41 149
42 151
43 161
44 163
45 167
46 169
47 1
48 13
49 17
50 19
51 23
52 29
53 31
54 41
55 47
56 53
57 59
58 61
59 67
60 71
61 73
62 83
63 97
64 101
65 103
66 107
67 121

List of values

[0, 1, 3, 1, 5, 7, 11, 13, 17, 23, 1, 7, 11, 13, 17, 23, 29, 31, 37, 41, 43, 49, 53, 59, 67, 71, 73, 77, 79, 83, 97, 101, 107, 109, 119, 121, 127, 133, 137, 143, 149, 151, 161, 163, 167, 169, 1, 13, 17, 19, 23, 29, 31, 41, 47, 53, 59, 61, 67, 71, 73, 83, 97, 101, 103, 107, 121]