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.

A091068 a(0) = 0; for n>0, a(n) = a(n-1) - n if that is >= 0, else a(n) = a(n-1) + n - 1.

Table of values

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

List of values

[0, 0, 1, 3, 6, 1, 6, 12, 4, 12, 2, 12, 0, 12, 25, 10, 25, 8, 25, 6, 25, 4, 25, 2, 25, 0, 25, 51, 23, 51, 21, 51, 19, 51, 17, 51, 15, 51, 13, 51, 11, 51, 9, 51, 7, 51, 5, 51, 3, 51, 1, 51, 102, 49, 102, 47, 102, 45, 102, 43, 102, 41, 102, 39, 102, 37, 102, 35, 102, 33]