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.

A018808 Number of lines through at least 2 points of an n X n grid of points.

Table of values

n a(n)
0 0
1 0
2 6
3 20
4 62
5 140
6 306
7 536
8 938
9 1492
10 2306
11 3296
12 4722
13 6460
14 8830
15 11568
16 14946
17 18900
18 23926
19 29544
20 36510
21 44388
22 53586
23 63648
24 75674
25 88948
26 104374
27 121032
28 139966
29 160636
30 184466
31 209944
32 239050
33 270588
34 305478
35 342480
36 383370
37 427020

List of values

[0, 0, 6, 20, 62, 140, 306, 536, 938, 1492, 2306, 3296, 4722, 6460, 8830, 11568, 14946, 18900, 23926, 29544, 36510, 44388, 53586, 63648, 75674, 88948, 104374, 121032, 139966, 160636, 184466, 209944, 239050, 270588, 305478, 342480, 383370, 427020]