login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A117379
Expansion of (1-4x)/(1-x^2+x^3).
1
1, -4, 1, -5, 5, -6, 10, -11, 16, -21, 27, -37, 48, -64, 85, -112, 149, -197, 261, -346, 458, -607, 804, -1065, 1411, -1869, 2476, -3280, 4345, -5756, 7625, -10101, 13381, -17726, 23482, -31107, 41208
OFFSET
0,2
COMMENTS
Diagonal sums of number triangle A117377.
FORMULA
a(n)=sum{k=0..floor(n/2), (-1)^n*(C(k,n-2k)+4*C(k, n-2k-1))}
MATHEMATICA
CoefficientList[Series[(1-4x)/(1-x^2+x^3), {x, 0, 40}], x] (* or *) LinearRecurrence[ {0, 1, -1}, {1, -4, 1}, 40] (* Harvey P. Dale, Nov 08 2022 *)
CROSSREFS
Sequence in context: A099310 A021880 A075013 * A007309 A352186 A333341
KEYWORD
easy,sign
AUTHOR
Paul Barry, Mar 10 2006
STATUS
approved