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.

A072918 a(n) = p(n) - sigma(n), where p(n) is the least prime greater than sigma(n).

Table of values

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

List of values

[1, 2, 1, 4, 1, 1, 3, 2, 4, 1, 1, 1, 3, 5, 5, 6, 1, 2, 3, 1, 5, 1, 5, 1, 6, 1, 1, 3, 1, 1, 5, 4, 5, 5, 5, 6, 3, 1, 3, 7, 1, 1, 3, 5, 1, 1, 5, 3, 2, 4, 1, 3, 5, 7, 1, 7, 3, 7, 1, 5, 5, 1, 3, 4, 5, 5, 3, 1, 1, 5, 1, 2, 5, 13, 3, 9, 1, 5, 3, 5, 6, 1, 5, 3, 1, 5, 7, 1, 7, 5, 1, 5, 3, 5, 7, 5, 3, 2, 1, 6]