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.

A018811 Number of lines through exactly 4 points of an n X n grid of points.

Table of values

n a(n)
0 0
1 0
2 0
3 0
4 10
5 4
6 4
7 20
8 44
9 36
10 64
11 124
12 200
13 236
14 272
15 308
16 548
17 692
18 852
19 1108
20 1396
21 1452
22 1768
23 2116
24 2496
25 2908
26 3568
27 4292
28 5428
29 5956
30 6500
31 7444
32 8452
33 8980
34 10208
35 11516
36 13348
37 14700
38 16116
39 17596
40 20124
41 22476
42 24956
43 28092
44 31404
45 33052
46 36032

List of values

[0, 0, 0, 0, 10, 4, 4, 20, 44, 36, 64, 124, 200, 236, 272, 308, 548, 692, 852, 1108, 1396, 1452, 1768, 2116, 2496, 2908, 3568, 4292, 5428, 5956, 6500, 7444, 8452, 8980, 10208, 11516, 13348, 14700, 16116, 17596, 20124, 22476, 24956, 28092, 31404, 33052, 36032]