OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
FORMULA
a(n) = [x^n] ( (1 + x)/(1 - x - x^2) )^(3*n).
a(n) = binomial(3*n, n)*hypergeom([-n, 3*n, 1 + 3*n], [1/2 + n, 1 + n], -1/4). - Stefano Spezia, Dec 22 2024
MATHEMATICA
Table[Sum[Binomial[3*n+k-1, k]*Binomial[3*n+k, n-k], {k, 0, n}], {n, 0, 25}] (* Vincenzo Librandi, Dec 21 2024 *)
a[n_]:= Binomial[3*n, n]*HypergeometricPFQ[{-n, 3*n, 1 + 3*n}, {1/2 + n, 1 + n}, -1/4]; Array[a, 19, 0] (* Stefano Spezia, Dec 22 2024 *)
PROG
(PARI) a(n) = sum(k=0, n, binomial(3*n+k-1, k)*binomial(3*n+k, n-k));
(Magma) [&+[Binomial(3*n+k-1, k)*Binomial(3*n+k, n-k): k in [0..n]]: n in [0..25]]; // Vincenzo Librandi, Dec 21 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Dec 14 2024
STATUS
approved