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”).

A117363
Expansion of (1-2x)/(1-x^2+x^3).
1
1, -2, 1, -3, 3, -4, 6, -7, 10, -13, 17, -23, 30, -40, 53, -70, 93, -123, 163, -216, 286, -379, 502, -665, 881, -1167, 1546, -2048, 2713, -3594, 4761, -6307, 8355, -11068, 14662, -19423, 25730, -34085, 45153, -59815, 79238
OFFSET
0,2
COMMENTS
Diagonal sums of number triangle A117362.
FORMULA
a(n)=a(n-2)-a(n-3); a(n)=sum{k=0..floor(n/2), (-1)^n*(C(k,n-2k)+2*C(k,n-2k-1))}.
MATHEMATICA
CoefficientList[Series[(1-2x)/(1-x^2+x^3), {x, 0, 60}], x] (* or *) LinearRecurrence[ {0, 1, -1}, {1, -2, 1}, 60] (* Harvey P. Dale, Aug 04 2021 *)
CROSSREFS
Sequence in context: A282906 A032303 A032215 * A007307 A207617 A141576
KEYWORD
easy,sign
AUTHOR
Paul Barry, Mar 10 2006
STATUS
approved