OFFSET
1,5
LINKS
Stefano Spezia, First 150 rows of the triangle, flattened
Abderrahim Arabi, Hacène Belbachir, and Jean-Philippe Dubernard, Enumeration of parallelogram polycubes, arXiv:2105.00971 [cs.DM], 2021.
FORMULA
T(n,m) = (binomial(n - 1, m - 1)*binomial(n, m - 1)/m)^2.
T(n,m) = A001263(n,m)^2.
EXAMPLE
n\m | 1 2 3 4 5 6 7
----|--------------------------------------------------------------
1 | 1
2 | 1 1
3 | 1 9 1
4 | 1 36 36 1
5 | 1 100 400 100 1
6 | 1 225 2500 2500 225 1
7 | 1 441 11025 30625 11025 441 1
MAPLE
a := (n, m) -> binomial(n-1, m-1)^2*binomial(n, m-1)^2/m^2: seq(seq(a(n, m), m = 1 .. n), n = 1 .. 10) # Stefano Spezia, Dec 23 2018
MATHEMATICA
T[n_, m_] = (Binomial[n - 1, m - 1]*Binomial[n, m - 1]/m)^2; Flatten[Table[Table[t[n, m], {m, 1, n}], {n, 1, 10}]]
PROG
(GAP) Flat(List([1..10], n->List([1..n], m->(Binomial(n-1, m-1)*Binomial(n, m-1)/m)^2))); # Stefano Spezia, Dec 23 2018
(PARI)
T(n, m)= (binomial(n-1, m-1)*binomial(n, m-1)/m)^2;
tabl(nn) = for(n=1, nn, for(m=1, n, print1(T(n, m), ", ")); print);
tabl(10) \\ Stefano Spezia, Dec 23 2018
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Roger L. Bagula, Mar 10 2010
EXTENSIONS
Edited by Stefano Spezia, Dec 23 2018
STATUS
approved