OFFSET
1,2
LINKS
Indranil Ghosh, Table of n, a(n) for n = 1..400
Matjaz Konvalinka, An inverse matrix formula in the right-quantum algebra, Electron. J. Combin., vol. 15 (1) (2008), Article R23.
FORMULA
a(2*n) = 2*(-1)^n*binomial(2*n, n-1)*binomial(3*n, n-1) with a(2*n-1) = 0.
MATHEMATICA
Table[Sum[(-1)^i*Binomial[n, i-1]*Binomial[n, i]*Binomial[n, i+1], {i, n-1}], {n, 30}]
PROG
(Magma)
A158194:= func< n | n eq 1 select 0 else (&+[(-1)^j*Binomial(n, j-1)*Binomial(n, j)*Binomial(n, j+1): j in [1..n-1]]) >;
[A158194(n): n in [1..30]]; // G. C. Greubel, Jun 26 2021
(Sage)
def A158194(n): return 0 if (n%2==1) else 2*(-1)^(n/2)*binomial(n, n/2 -1)*binomial(3*n/2, n/2 -1)
[A158194(n) for n in (1..30)] # G. C. Greubel, Jun 26 2021
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Roger L. Bagula, Mar 13 2009
EXTENSIONS
Edited by the Associate Editors of the OEIS, Apr 22 2009
STATUS
approved