OFFSET
0,8
LINKS
G. C. Greubel, Rows n = 0..100 of triangle, flattened
FORMULA
Riordan array ((1-x)/(1-x+x^2), x*(1-x)^2/(1-x+x^2)^2).
Number triangle: T(n,k) = Sum_{j=0..n} C(n+j,2*j)*C(j+k,2*k)*(-1)^(j-k).
EXAMPLE
Number triangle begins:
1;
0, 1;
-1, 0, 1;
-1, -3, 0, 1;
0, -3, -5, 0, 1;
1, 3, -5, -7, 0, 1;
1, 9, 10, -7, -9, 0, 1;
MATHEMATICA
Table[Sum[(-1)^(j-k)*Binomial[n+j, 2*j]*Binomial[j+k, 2*k], {j, 0, n}], {n, 0, 12}, {k, 0, n}]//Flatten (* G. C. Greubel, Aug 08 2019 *)
PROG
(PARI) T(n, k) = sum(j=0, n, (-1)^(j-k)*binomial(n+j, 2*j)*binomial(n+j, 2*k) );
for(n=0, 12, for(k=0, n, print1(T(n, k), ", "))) \\ G. C. Greubel, Aug 08 2019
(Magma) B:= Binomial; [(&+[(-1)^(j-k)*B(n+j, 2*j)*B(n+j, 2*k):j in [0..n]]) : k in [0..n], n in [0..12]]; // G. C. Greubel, Aug 08 2019
(Sage) b=binomial; [[sum((-1)^(j-k)*b(n+j, 2*j)*b(n+j, 2*k) for j in (0..n)) for k in (0..n)] for n in (0..12)] # G. C. Greubel, Aug 08 2019
(GAP) B:=Binomial;; Flat(List([0..12], n-> List([0..n], k-> Sum([0..n], j-> (-1)^(j-k)*B(n+j, 2*j)*B(n+j, 2*k) )))); # G. C. Greubel, Aug 08 2019
CROSSREFS
KEYWORD
AUTHOR
Paul Barry, Oct 16 2006
STATUS
approved