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.

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

Table of values

n a(n)
1 1
2 4
3 8
4 15
5 25
6 33
7 45
8 60
9 73
10 95
11 115
12 131
13 157
14 181
15 205
16 236
17 270
18 297
19 333
20 379
21 403
22 443
23 487
24 519
25 578
26 632
27 672
28 720
29 778
30 826
31 886
32 949
33 989
34 1059
35 1131
36 1186
37 1260
38 1332
39 1388
40 1482
41 1564
42 1612
43 1696
44 1776
45 1858
46 1946
47 2038
48 2102
49 2187
50 2308
51 2380
52 2490

List of values

[1, 4, 8, 15, 25, 33, 45, 60, 73, 95, 115, 131, 157, 181, 205, 236, 270, 297, 333, 379, 403, 443, 487, 519, 578, 632, 672, 720, 778, 826, 886, 949, 989, 1059, 1131, 1186, 1260, 1332, 1388, 1482, 1564, 1612, 1696, 1776, 1858, 1946, 2038, 2102, 2187, 2308, 2380, 2490]