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.

A051352 a(0) = 0; for n>0, a(n) = a(n-1) + n if n not prime else a(n-1) - n.

Table of values

n a(n)
0 0
1 1
2 -1
3 -4
4 0
5 -5
6 1
7 -6
8 2
9 11
10 21
11 10
12 22
13 9
14 23
15 38
16 54
17 37
18 55
19 36
20 56
21 77
22 99
23 76
24 100
25 125
26 151
27 178
28 206
29 177
30 207
31 176
32 208
33 241
34 275
35 310
36 346
37 309
38 347
39 386
40 426
41 385
42 427
43 384
44 428
45 473
46 519
47 472
48 520
49 569
50 619
51 670
52 722
53 669
54 723
55 778

List of values

[0, 1, -1, -4, 0, -5, 1, -6, 2, 11, 21, 10, 22, 9, 23, 38, 54, 37, 55, 36, 56, 77, 99, 76, 100, 125, 151, 178, 206, 177, 207, 176, 208, 241, 275, 310, 346, 309, 347, 386, 426, 385, 427, 384, 428, 473, 519, 472, 520, 569, 619, 670, 722, 669, 723, 778]