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.

A162417 Find max {primes such that p < n^2, n = 2,3,...}, then the gap g(n) between that prime and its successor. This sequence is the sequence of differences {2n - g(n)}.

Table of values

n a(n)
2 2
3 2
4 4
5 4
6 6
7 8
8 10
9 14
10 16
11 8
12 14
13 20
14 24
15 26
16 26
17 24
18 22
19 30
20 36
21 38
22 36
23 28
24 42
25 38
26 48
27 48
28 42
29 44
30 40
31 48
32 54
33 62
34 58
35 64
36 66
37 68
38 68
39 66
40 76
41 58
42 66
43 72
44 72
45 80
46 76
47 88
48 84
49 86
50 74
51 86
52 96
53 90
54 100
55 96
56 96
57 92
58 106
59 96
60 106
61 114
62 110
63 104
64 122
65 120
66 124
67 124
68 120
69 114

List of values

[2, 2, 4, 4, 6, 8, 10, 14, 16, 8, 14, 20, 24, 26, 26, 24, 22, 30, 36, 38, 36, 28, 42, 38, 48, 48, 42, 44, 40, 48, 54, 62, 58, 64, 66, 68, 68, 66, 76, 58, 66, 72, 72, 80, 76, 88, 84, 86, 74, 86, 96, 90, 100, 96, 96, 92, 106, 96, 106, 114, 110, 104, 122, 120, 124, 124, 120, 114]