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.

A279437 Number of ways to place 3 points on an n X n square grid so that no more than 2 points are on a vertical or horizontal straight line.

Table of values

n a(n)
1 0
2 4
3 78
4 528
5 2200
6 6900
7 17934
8 40768
9 83808
10 159300
11 284350
12 482064
13 782808
14 1225588
15 1859550
16 2745600
17 3958144
18 5586948
19 7739118
20 10541200
21 14141400
22 18711924
23 24451438
24 31587648
25 40380000
26 51122500
27 64146654
28 79824528
29 98571928
30 120851700
31 147177150
32 178115584

List of values

[0, 4, 78, 528, 2200, 6900, 17934, 40768, 83808, 159300, 284350, 482064, 782808, 1225588, 1859550, 2745600, 3958144, 5586948, 7739118, 10541200, 14141400, 18711924, 24451438, 31587648, 40380000, 51122500, 64146654, 79824528, 98571928, 120851700, 147177150, 178115584]