OFFSET
0,3
COMMENTS
Diagonal sums of generalized Pascal triangle A124216.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (2,1,0,-1).
FORMULA
a(n)=sum{k=0..floor(n/2), sum{j=0..n-k, C(n-k,j)C(j,2(j-k))2^(j-k)}};
MATHEMATICA
CoefficientList[Series[(1-x-x^2)/(1-2x-x^2+x^4), {x, 0, 40}], x] (* or *) LinearRecurrence[{2, 1, 0, -1}, {1, 1, 2, 5}, 40] (* Harvey P. Dale, Jun 14 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 19 2006
STATUS
approved