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.

A334404 a(0)=0; for n>0, a(n) is an integer not previously seen such that the sum of all previous terms plus a(n) equals the smallest prime number not yet created by any previous sum.

Table of values

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

List of values

[0, 2, 1, 4, -2, 6, 8, -6, 10, 14, -20, 12, 18, -16, 22, -12, 20, -18, 16, 24, -10, 28, -34, 30, -26, 32, -24, 34, -4, 40, -60, 38, 36, -56, 44, -14, 42, -48, 26, 54, -72, 52, 48, -66, 50, -42, 46, -30, 60, -90, 62, -36, 58, -52, 64, -22, -8, 74, -38, 68, -54, 66, -78, 76, -70, 82, -46]