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.

A146557 Number of collinear triples of distinct points in Zn x Zn with no two on the same "horizontal" or "vertical" line.

Table of values

n a(n)
1 0
2 0
3 6
4 32
5 200
6 384
7 1470
8 2688
9 5400
10 9600
11 18150
12 27168
13 44616
14 65856
15 90150
16 140800
17 184960
18 274320
19 331398
20 474400
21 569184
22 774400
23 896126
24 1366656
25 1390000
26 1881984
27 2204982
28 2899232
29 2967048
30 4545600
31 4180350
32 5904384

List of values

[0, 0, 6, 32, 200, 384, 1470, 2688, 5400, 9600, 18150, 27168, 44616, 65856, 90150, 140800, 184960, 274320, 331398, 474400, 569184, 774400, 896126, 1366656, 1390000, 1881984, 2204982, 2899232, 2967048, 4545600, 4180350, 5904384]