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.

A014237 a(n) = (n-th prime) - (n-th nonprime).

Table of values

n a(n)
1 1
2 -1
3 -1
4 -1
5 2
6 3
7 5
8 5
9 8
10 13
11 13
12 17
13 20
14 21
15 23
16 28
17 33
18 34
19 39
20 41
21 41
22 46
23 49
24 54
25 61
26 63
27 64
28 67
29 67
30 69
31 82
32 85
33 89
34 90
35 99
36 100
37 105
38 109
39 112
40 117
41 122
42 123
43 131
44 131
45 134
46 135
47 146
48 157
49 159
50 160
51 163
52 167
53 167
54 176
55 181
56 186
57 191
58 191
59 196

List of values

[1, -1, -1, -1, 2, 3, 5, 5, 8, 13, 13, 17, 20, 21, 23, 28, 33, 34, 39, 41, 41, 46, 49, 54, 61, 63, 64, 67, 67, 69, 82, 85, 89, 90, 99, 100, 105, 109, 112, 117, 122, 123, 131, 131, 134, 135, 146, 157, 159, 160, 163, 167, 167, 176, 181, 186, 191, 191, 196]