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.

A018809 Number of lines through exactly 2 points of an n X n grid of points.

Table of values

n a(n)
0 0
1 0
2 6
3 12
4 48
5 108
6 248
7 428
8 764
9 1196
10 1900
11 2668
12 3824
13 5244
14 7248
15 9380
16 12192
17 15372
18 19528
19 24020
20 29732
21 36052
22 43808
23 51836
24 61636
25 72492
26 85308
27 98492
28 114012
29 130668
30 150196
31 170828
32 194768
33 220276
34 249452
35 279284
36 312572
37 348036

List of values

[0, 0, 6, 12, 48, 108, 248, 428, 764, 1196, 1900, 2668, 3824, 5244, 7248, 9380, 12192, 15372, 19528, 24020, 29732, 36052, 43808, 51836, 61636, 72492, 85308, 98492, 114012, 130668, 150196, 170828, 194768, 220276, 249452, 279284, 312572, 348036]