OFFSET
0,5
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..11475 (Rows 0 <= n <= 150).
Milan Janjić, Pascal Matrices and Restricted Words, J. Int. Seq., Vol. 21 (2018), Article 18.5.2.
FORMULA
G.f.: 1/(1-x*y*(1+x)^2).
Number triangle T(n,k) = C(2*k, n-k) = C(n,k)*C(3*k,n)/C(3*k,k).
EXAMPLE
Triangle begins as:
1;
0, 1;
0, 2, 1;
0, 1, 4, 1;
0, 0, 6, 6, 1;
0, 0, 4, 15, 8, 1;
0, 0, 1, 20, 28, 10, 1;
0, 0, 0, 15, 56, 45, 12, 1;
MATHEMATICA
Flatten[Table[Binomial[2k, n-k], {n, 0, 20}, {k, 0, n}]] (* Harvey P. Dale, Oct 22 2012 *)
PROG
(PARI) {T(n, k) = binomial(2*k, n-k)}; \\ G. C. Greubel, May 09 2019
(Magma) [[Binomial(2*k, n-k): k in [0..n]]: n in [0..10]]; // G. C. Greubel, May 09 2019
(Sage) [[binomial(2*k, n-k) for k in (0..n)] for n in (0..10)] # G. C. Greubel, May 09 2019
(GAP) Flat(List([0..10], n->List([0..n], k-> Binomial(2*k, n-k) ))); # G. C. Greubel, May 09 2019
CROSSREFS
KEYWORD
AUTHOR
Paul Barry, Feb 04 2006
STATUS
approved