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.

A147965 a(n) = n + 1 - A001223(n) = n - A046933(n). In words, a(n) is the difference between n+1 and the n-th gap between primes.

Table of values

n a(n)
1 1
2 1
3 2
4 1
5 4
6 3
7 6
8 5
9 4
10 9
11 6
12 9
13 12
14 11
15 10
16 11
17 16
18 13
19 16
20 19
21 16
22 19
23 18
24 17
25 22
26 25
27 24
28 27
29 26
30 17
31 28
32 27
33 32
34 25
35 34
36 31
37 32
38 35
39 34
40 35
41 40
42 33
43 42
44 41
45 44
46 35
47 36
48 45
49 48
50 47
51 46
52 51
53 44
54 49
55 50
56 51
57 56
58 53
59 56
60 59

List of values

[1, 1, 2, 1, 4, 3, 6, 5, 4, 9, 6, 9, 12, 11, 10, 11, 16, 13, 16, 19, 16, 19, 18, 17, 22, 25, 24, 27, 26, 17, 28, 27, 32, 25, 34, 31, 32, 35, 34, 35, 40, 33, 42, 41, 44, 35, 36, 45, 48, 47, 46, 51, 44, 49, 50, 51, 56, 53, 56, 59]