OFFSET
0,5
COMMENTS
Diagonal sums of A099037.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = Sum_{k=0..floor(n/2)} C(n-k, k)*Sum_{i=0..n} (-1)^i*C(k, i) * C(n-2k, k-i).
Conjecture: n*a(n) -n*a(n-1) +n*a(n-2) +3*(-n+1)*a(n-3) +(-5*n+13)*a(n-4) +(n-3)*a(n-5)=0. - R. J. Mathar, Dec 21 2014
MATHEMATICA
Table[Sum[Binomial[n - k, k]*Sum[(-1)^i*Binomial[k, i]*Binomial[n - 2*k, k - i], {i, 0, n}], {k, 0, Floor[n/2]}], {n, 0, 50}] (* G. C. Greubel, Dec 31 2017 *)
PROG
(PARI) for(n=0, 30, print1(sum(k=0, floor(n/2), binomial(n-k, k)*sum(i=0, n, (-1)^i*binomial(k, i)*binomial(n-2*k, k-i))), ", ")) \\ G. C. Greubel, Dec 31 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Sep 23 2004
STATUS
approved