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.

A018810 Number of lines through exactly 3 points of an n X n grid of points.

Table of values

n a(n)
0 0
1 0
2 0
3 8
4 4
5 16
6 36
7 64
8 100
9 204
10 252
11 396
12 572
13 780
14 1020
15 1484
16 1756
17 2260
18 2828
19 3540
20 4332
21 5556
22 6372
23 7716
24 9188
25 10684
26 12292
27 14684
28 16588
29 19324
30 22268
31 25420
32 28780
33 33164
34 36452
35 41036
36 45892
37 51324
38 57060
39 64540
40 70500
41 77724
42 85300
43 93228

List of values

[0, 0, 0, 8, 4, 16, 36, 64, 100, 204, 252, 396, 572, 780, 1020, 1484, 1756, 2260, 2828, 3540, 4332, 5556, 6372, 7716, 9188, 10684, 12292, 14684, 16588, 19324, 22268, 25420, 28780, 33164, 36452, 41036, 45892, 51324, 57060, 64540, 70500, 77724, 85300, 93228]