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.

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.

Terms

    a(0) =8a(1) =28a(2) =92a(3) =80a(4) =240a(5) =596a(6) =178a(7) =508a(8) =1028a(9) =1936a(10) =372a(11) =944a(12) =2004a(13) =3404a(14) =6020a(15) =654a(16) =1548a(17) =3018a(18) =4962a(19) =8064a(20) =11088a(21) =1124a(22) =2520a(23) =4808a(24) =7734a(25) =12708a(26) =17022a(27) =26260a(28) =1782a(29) =3754

External references