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.

A064520 a(n) = + 1 - 2 - 3 + 4 + 5 + 6 - 7 - 8 - 9 - 10 + 11 + 12 + 13 + 14 + 15 - ... + (+-1)*n, where there is one plus, two minuses, three pluses, etc. (see A002024).

Table of values

n a(n)
1 1
2 -1
3 -4
4 0
5 5
6 11
7 4
8 -4
9 -13
10 -23
11 -12
12 0
13 13
14 27
15 42
16 26
17 9
18 -9
19 -28
20 -48
21 -69
22 -47
23 -24
24 0
25 25
26 51
27 78
28 106
29 77
30 47
31 16
32 -16
33 -49
34 -83
35 -118
36 -154
37 -117
38 -79
39 -40
40 0
41 41
42 83
43 126
44 170
45 215
46 169
47 122
48 74
49 25
50 -25
51 -76
52 -128
53 -181
54 -235
55 -290
56 -234
57 -177
58 -119
59 -60
60 0
61 61
62 123
63 186
64 250
65 315
66 381
67 314
68 246
69 177

List of values

[1, -1, -4, 0, 5, 11, 4, -4, -13, -23, -12, 0, 13, 27, 42, 26, 9, -9, -28, -48, -69, -47, -24, 0, 25, 51, 78, 106, 77, 47, 16, -16, -49, -83, -118, -154, -117, -79, -40, 0, 41, 83, 126, 170, 215, 169, 122, 74, 25, -25, -76, -128, -181, -235, -290, -234, -177, -119, -60, 0, 61, 123, 186, 250, 315, 381, 314, 246, 177]