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.

A320544 (1/8) * number of ways to select 3 distinct points forming a triangle of unsigned area = 1 from a square of grid points with side length n.

Table of values

n a(n)
1 0
2 4
3 18
4 53
5 119
6 234
7 413
8 681
9 1047
10 1562
11 2243
12 3101
13 4186
14 5576
15 7231
16 9243
17 11652
18 14518
19 17886
20 21779
21 26191
22 31368
23 37285
24 43919
25 51364
26 59894
27 69338
28 79831
29 91495
30 104336
31 118513
32 134135
33 151072
34 169878
35 190229
36 212185
37 236040
38 262244
39 290317
40 320487

List of values

[0, 4, 18, 53, 119, 234, 413, 681, 1047, 1562, 2243, 3101, 4186, 5576, 7231, 9243, 11652, 14518, 17886, 21779, 26191, 31368, 37285, 43919, 51364, 59894, 69338, 79831, 91495, 104336, 118513, 134135, 151072, 169878, 190229, 212185, 236040, 262244, 290317, 320487]