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.

A174232 a(n) = a(n-1) - (-1)^n*n if (A004001(n) mod 3) = 1, otherwise a(n-1) + (-1)^n*n.

Table of values

n a(n)
0 1
1 0
2 -2
3 -5
4 -1
5 -6
6 -12
7 -5
8 -13
9 -22
10 -12
11 -1
12 -13
13 -26
14 -12
15 -27
16 -11
17 -28
18 -46
19 -65
20 -45
21 -66
22 -88
23 -111
24 -87
25 -112
26 -86
27 -113
28 -141
29 -112
30 -142
31 -111
32 -143
33 -176
34 -142
35 -107
36 -71
37 -108
38 -70
39 -31
40 9
41 -32
42 10
43 53
44 97
45 52
46 98
47 51
48 99
49 148
50 198
51 147
52 199
53 146

List of values

[1, 0, -2, -5, -1, -6, -12, -5, -13, -22, -12, -1, -13, -26, -12, -27, -11, -28, -46, -65, -45, -66, -88, -111, -87, -112, -86, -113, -141, -112, -142, -111, -143, -176, -142, -107, -71, -108, -70, -31, 9, -32, 10, 53, 97, 52, 98, 51, 99, 148, 198, 147, 199, 146]