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.

A309222 a(0) = 6; thereafter a(n) = a(n-1) + prime(n) if prime(n) > a(n-1), otherwise a(n) = a(n-1) - prime(n).

Table of values

n a(n)
0 6
1 4
2 1
3 6
4 13
5 2
6 15
7 32
8 13
9 36
10 7
11 38
12 1
13 42
14 85
15 38
16 91
17 32
18 93
19 26
20 97
21 24
22 103
23 20
24 109
25 12
26 113
27 10
28 117
29 8
30 121
31 248
32 117
33 254
34 115
35 264
36 113
37 270
38 107
39 274
40 101
41 280
42 99
43 290
44 97
45 294
46 95
47 306
48 83
49 310
50 81
51 314
52 75
53 316
54 65
55 322
56 59
57 328
58 57
59 334
60 53
61 336
62 43
63 350
64 39
65 352

List of values

[6, 4, 1, 6, 13, 2, 15, 32, 13, 36, 7, 38, 1, 42, 85, 38, 91, 32, 93, 26, 97, 24, 103, 20, 109, 12, 113, 10, 117, 8, 121, 248, 117, 254, 115, 264, 113, 270, 107, 274, 101, 280, 99, 290, 97, 294, 95, 306, 83, 310, 81, 314, 75, 316, 65, 322, 59, 328, 57, 334, 53, 336, 43, 350, 39, 352]