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.

A241219 Number of ways to choose two points on a centered hexagonal grid of size n.

Table of values

n a(n)
1 0
2 21
3 171
4 666
5 1830
6 4095
7 8001
8 14196
9 23436
10 36585
11 54615
12 78606
13 109746
14 149331
15 198765
16 259560
17 333336
18 421821
19 526851
20 650370
21 794430
22 961191
23 1152921
24 1371996
25 1620900
26 1902225
27 2218671
28 2573046
29 2968266
30 3407355
31 3893445
32 4429776
33 5019696
34 5666661

List of values

[0, 21, 171, 666, 1830, 4095, 8001, 14196, 23436, 36585, 54615, 78606, 109746, 149331, 198765, 259560, 333336, 421821, 526851, 650370, 794430, 961191, 1152921, 1371996, 1620900, 1902225, 2218671, 2573046, 2968266, 3407355, 3893445, 4429776, 5019696, 5666661]