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.

A019298 Number of balls in pyramid with base either a regular hexagon or a hexagon with alternate sides differing by 1 (balls in hexagonal pyramid of height n taken from hexagonal close-packing).

Table of values

n a(n)
0 0
1 1
2 4
3 11
4 23
5 42
6 69
7 106
8 154
9 215
10 290
11 381
12 489
13 616
14 763
15 932
16 1124
17 1341
18 1584
19 1855
20 2155
21 2486
22 2849
23 3246
24 3678
25 4147
26 4654
27 5201
28 5789
29 6420
30 7095
31 7816
32 8584
33 9401
34 10268
35 11187
36 12159
37 13186

List of values

[0, 1, 4, 11, 23, 42, 69, 106, 154, 215, 290, 381, 489, 616, 763, 932, 1124, 1341, 1584, 1855, 2155, 2486, 2849, 3246, 3678, 4147, 4654, 5201, 5789, 6420, 7095, 7816, 8584, 9401, 10268, 11187, 12159, 13186]