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.

A054408 a(n) = smallest positive integer not already in sequence such that the partial sum a(1)+...+a(n) is prime.

Table of values

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

List of values

[2, 1, 4, 6, 10, 8, 12, 16, 14, 24, 30, 22, 18, 26, 34, 36, 20, 28, 38, 40, 32, 42, 46, 48, 44, 52, 56, 60, 54, 58, 66, 50, 64, 62, 70, 84, 90, 72, 92, 76, 86, 94, 74, 88, 68, 82, 80, 102, 96, 100, 114, 98, 78, 112, 120, 110, 108, 106, 126, 122, 130, 132, 134, 124, 128, 118]