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.

A105161 Difference between n and the second-smallest prime larger than n.

Table of values

n a(n)
0 3
1 2
2 3
3 4
4 3
5 6
6 5
7 6
8 5
9 4
10 3
11 6
12 5
13 6
14 5
15 4
16 3
17 6
18 5
19 10
20 9
21 8
22 7
23 8
24 7
25 6
26 5
27 4
28 3
29 8
30 7
31 10
32 9
33 8
34 7
35 6
36 5
37 6
38 5
39 4
40 3
41 6
42 5
43 10
44 9
45 8
46 7
47 12
48 11
49 10
50 9
51 8
52 7
53 8
54 7
55 6
56 5
57 4
58 3
59 8
60 7
61 10
62 9
63 8
64 7
65 6
66 5
67 6
68 5
69 4
70 3
71 8
72 7
73 10
74 9
75 8
76 7
77 6
78 5
79 10
80 9
81 8
82 7
83 14
84 13
85 12
86 11
87 10
88 9
89 12
90 11
91 10
92 9
93 8
94 7
95 6
96 5

List of values

[3, 2, 3, 4, 3, 6, 5, 6, 5, 4, 3, 6, 5, 6, 5, 4, 3, 6, 5, 10, 9, 8, 7, 8, 7, 6, 5, 4, 3, 8, 7, 10, 9, 8, 7, 6, 5, 6, 5, 4, 3, 6, 5, 10, 9, 8, 7, 12, 11, 10, 9, 8, 7, 8, 7, 6, 5, 4, 3, 8, 7, 10, 9, 8, 7, 6, 5, 6, 5, 4, 3, 8, 7, 10, 9, 8, 7, 6, 5, 10, 9, 8, 7, 14, 13, 12, 11, 10, 9, 12, 11, 10, 9, 8, 7, 6, 5]