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.

A006584 If n mod 2 = 0 then n*(n^2-4)/12 else n*(n^2-1)/12.

Table of values

n a(n)
0 0
1 0
2 0
3 2
4 4
5 10
6 16
7 28
8 40
9 60
10 80
11 110
12 140
13 182
14 224
15 280
16 336
17 408
18 480
19 570
20 660
21 770
22 880
23 1012
24 1144
25 1300
26 1456
27 1638
28 1820
29 2030
30 2240
31 2480
32 2720
33 2992
34 3264
35 3570
36 3876
37 4218
38 4560
39 4940
40 5320

List of values

[0, 0, 0, 2, 4, 10, 16, 28, 40, 60, 80, 110, 140, 182, 224, 280, 336, 408, 480, 570, 660, 770, 880, 1012, 1144, 1300, 1456, 1638, 1820, 2030, 2240, 2480, 2720, 2992, 3264, 3570, 3876, 4218, 4560, 4940, 5320]