OFFSET
0,2
LINKS
Felix Fröhlich, Table of n, a(n) for n = 0..10000
FORMULA
T(n,0) = T(n,n) = A005809(n).
EXAMPLE
Triangle starts:
1,
3, 3,
15, 20, 15,
84, 126, 126, 84,
495, 792, 924, 792, 495,
3003, 5005, 6435, 6435, 5005, 3003
MAPLE
for n from 0 to 6 do seq(binomial(3*n, n+k), k=0..n) od;
MATHEMATICA
Table[Binomial[3 n, n + k], {n, 0, 10}, {k, 0, n}]//Flatten (* Vincenzo Librandi, Mar 28 2016 *)
PROG
(Magma) /* As triangle */ [[Binomial(3*n, n+k): k in [0..n]]: n in [0.. 7]]; // Vincenzo Librandi, Mar 28 2016
(PARI) t(n, k) = binomial(3*n, n+k)
trianglerows(n) = for(x=0, n-1, for(y=0, x, print1(t(x, y), ", ")); print(""))
/* The following function call prints the upper six rows of the triangle */
trianglerows(6) \\ Felix Fröhlich, Mar 28 2016
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Peter Luschny, Mar 28 2016
STATUS
approved