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.

A217916 a(n) = prime(n) - Sum_{k=1..A002024(n)-1} a(n-k), where A002024(m) = [sqrt(2*m)+1/2] is "n appears n times".

Table of values

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

List of values

[2, 1, 4, 2, 5, 6, 4, 4, 9, 12, 2, 10, 8, 11, 16, 6, 8, 12, 14, 15, 18, 6, 10, 14, 20, 18, 17, 22, 2, 10, 24, 18, 26, 20, 27, 24, 6, 8, 14, 30, 24, 28, 30, 29, 28, 2, 18, 20, 18, 32, 28, 34, 32, 39, 34, 6, 8, 20, 26, 22, 34, 38, 48, 36, 41, 38, 14, 12, 18, 22, 30]