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.

A008348 a(0)=0; thereafter a(n) = a(n-1) + prime(n) if a(n-1) < prime(n), otherwise a(n) = a(n-1) - prime(n).

Table of values

n a(n)
0 0
1 2
2 5
3 0
4 7
5 18
6 5
7 22
8 3
9 26
10 55
11 24
12 61
13 20
14 63
15 16
16 69
17 10
18 71
19 4
20 75
21 2
22 81
23 164
24 75
25 172
26 71
27 174
28 67
29 176
30 63
31 190
32 59
33 196
34 57
35 206
36 55
37 212
38 49
39 216
40 43
41 222
42 41
43 232
44 39
45 236
46 37
47 248
48 25
49 252
50 23
51 256
52 17
53 258
54 7
55 264
56 1
57 270
58 541
59 264
60 545
61 262
62 555

List of values

[0, 2, 5, 0, 7, 18, 5, 22, 3, 26, 55, 24, 61, 20, 63, 16, 69, 10, 71, 4, 75, 2, 81, 164, 75, 172, 71, 174, 67, 176, 63, 190, 59, 196, 57, 206, 55, 212, 49, 216, 43, 222, 41, 232, 39, 236, 37, 248, 25, 252, 23, 256, 17, 258, 7, 264, 1, 270, 541, 264, 545, 262, 555]