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.

A266677 Alternating sum of hexagonal pyramidal numbers.

Table of values

n a(n)
0 0
1 -1
2 6
3 -16
4 34
5 -61
6 100
7 -152
8 220
9 -305
10 410
11 -536
12 686
13 -861
14 1064
15 -1296
16 1560
17 -1857
18 2190
19 -2560
20 2970
21 -3421
22 3916
23 -4456
24 5044
25 -5681
26 6370
27 -7112
28 7910
29 -8765
30 9680
31 -10656
32 11696
33 -12801
34 13974
35 -15216
36 16530
37 -17917
38 19380
39 -20920
40 22540

List of values

[0, -1, 6, -16, 34, -61, 100, -152, 220, -305, 410, -536, 686, -861, 1064, -1296, 1560, -1857, 2190, -2560, 2970, -3421, 3916, -4456, 5044, -5681, 6370, -7112, 7910, -8765, 9680, -10656, 11696, -12801, 13974, -15216, 16530, -17917, 19380, -20920, 22540]