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.

A331454 Triangle read by rows: T(n,m) (n >= m >= 1) = number of line segments formed by drawing the lines connecting any two of the 2*(m+n) perimeter points of an m X n grid of squares.

Table of values

n a(n)
1 8
2 28
3 92
4 80
5 240
6 596
7 178
8 508
9 1028
10 1936
11 372
12 944
13 2004
14 3404
15 6020
16 654
17 1548
18 3018
19 4962
20 8064
21 11088
22 1124
23 2520
24 4808
25 7734
26 12708
27 17022
28 26260
29 1782
30 3754
31 6704
32 10840
33 16608
34 22220
35 32794
36 42144
37 2724
38 5392
39 9780
40 14620
41 22788
42 30238
43 44028
44 54024
45 72296
46 3914
47 7528
48 12720
49 19428
50 29914
51 37848
52 54612
53 67590
54 86906
55 107832

List of values

[8, 28, 92, 80, 240, 596, 178, 508, 1028, 1936, 372, 944, 2004, 3404, 6020, 654, 1548, 3018, 4962, 8064, 11088, 1124, 2520, 4808, 7734, 12708, 17022, 26260, 1782, 3754, 6704, 10840, 16608, 22220, 32794, 42144, 2724, 5392, 9780, 14620, 22788, 30238, 44028, 54024, 72296, 3914, 7528, 12720, 19428, 29914, 37848, 54612, 67590, 86906, 107832]