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.

A114147 Self-describing sequence : 1 prime between two nonprimes, then 2 primes between two nonprimes, then 4 primes, then 5, then 7, etc. The quantity of primes in each run is given by the sequence itself. (Sequence is strictly increasing and the smallest next available nonprime is used when needed).

Table of values

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

List of values

[1, 2, 4, 5, 7, 8, 11, 13, 17, 19, 20, 23, 29, 31, 37, 41, 42, 43, 47, 53, 59, 61, 67, 71, 72, 73, 79, 83, 89, 97, 101, 103, 107, 108, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 168, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 240, 241]