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.

A329970 a(n) = (-1)^(n + 1) * n * ceiling(n/2) + Sum_{k=1..n} (-1)^k * k^2 * floor(n/k).

Table of values

n a(n)
1 0
2 0
3 -2
4 3
5 0
6 -3
7 -7
8 16
9 2
10 -15
11 -21
12 31
13 24
14 -15
15 -57
16 34
17 25
18 -17
19 -27
20 77
21 8
22 -99
23 -111
24 155
25 117
26 -36
27 -140
28 40
29 25
30 -80
31 -96
32 259
33 112
34 -157
35 -249
36 202
37 183
38 -156
39 -354
40 224
41 203
42 -40
43 -62
44 342
45 -21
46 -524
47 -548
48 562
49 488
50 -34
51 -358
52 194
53 167
54 -262

List of values

[0, 0, -2, 3, 0, -3, -7, 16, 2, -15, -21, 31, 24, -15, -57, 34, 25, -17, -27, 77, 8, -99, -111, 155, 117, -36, -140, 40, 25, -80, -96, 259, 112, -157, -249, 202, 183, -156, -354, 224, 203, -40, -62, 342, -21, -524, -548, 562, 488, -34, -358, 194, 167, -262]