Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A077894
Expansion of (1-x)^(-1)/(1+2*x^2+x^3).
0
1, 1, -1, -2, 2, 6, -1, -13, -3, 28, 20, -52, -67, 85, 187, -102, -458, 18, 1019, 423, -2055, -1864, 3688, 5784, -5511, -15255, 5239, 36022, 4778, -77282, -45577, 149787, 168437, -253996, -486660, 339556, 1227317, -192451, -2794189, -842414, 5780830, 4479018, -10719245, -14738865
OFFSET
0,4
FORMULA
a(0)=1, a(1)=1, a(2)=-1, a(3)=-2, a(n)=a(n-1)-2*a(n-2)+a(n-3)+a(n-4). - Harvey P. Dale, Feb 06 2015
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1+2x^2+x^3), {x, 0, 50}], x] (* or *) LinearRecurrence[{1, -2, 1, 1}, {1, 1, -1, -2}, 50] (* Harvey P. Dale, Feb 06 2015 *)
CROSSREFS
Sequence in context: A248617 A225975 A016529 * A374031 A053214 A077198
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved