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.

A320542 a(n) is the number of ways to select 3 distinct points forming a triangle of unsigned area = n from a square of grid points with side length n, divided by 4.

Table of values

n a(n)
1 0
2 2
3 12
4 33
5 74
6 258
7 294
8 661
9 1258
10 1940
11 2044
12 5254
13 4136
14 7738
15 12902
16 13357
17 13142
18 29540
19 21214
20 40816
21 50388
22 50012
23 47680
24 101662
25 83684
26 99690
27 140638
28 158568
29 126720
30 282042
31 167514
32 253779
33 318556
34 302230
35 386186
36 579833
37 350556
38 478058
39 629582
40 765498

List of values

[0, 2, 12, 33, 74, 258, 294, 661, 1258, 1940, 2044, 5254, 4136, 7738, 12902, 13357, 13142, 29540, 21214, 40816, 50388, 50012, 47680, 101662, 83684, 99690, 140638, 158568, 126720, 282042, 167514, 253779, 318556, 302230, 386186, 579833, 350556, 478058, 629582, 765498]