A334713 Number of ways to select four points from an n X n grid so that three of them form a triangle of nonzero area and the extra point is on one of the edges of the triangle.
0, 0, 48, 532, 3088, 11340, 35264, 88088, 198912, 407744, 783344, 1388196, 2392592, 3889292, 6124032, 9394536, 14058816, 20345400, 29034288, 40356156, 55487952, 75207892, 100445632, 131773104, 171900864, 221418336, 282240816, 356468556, 447353616, 555069252, 686394560, 840316880, 1023123264, 1238261952
Offset: 1
Keywords
Links
Crossrefs
The main diagonal of A334710.
Comments