login
A077857
Expansion of (1-x)^(-1)/(1-2*x+x^2+2*x^3).
0
1, 3, 6, 8, 5, -9, -38, -76, -95, -37, 174, 576, 1053, 1183, 162, -2964, -8455, -14269, -14154, 2872, 48437, 122311, 190442, 161700, -111663, -765909, -1743554, -2497872, -1720371, 2544239, 11804594, 24505692, 32118313, 16121747, -48886202, -178130776, -339618843, -403334505
OFFSET
0,2
FORMULA
a(0)=1, a(1)=3, a(2)=6, a(3)=8, a(n)=3*a(n-1)-3*a(n-2)-a(n-3)+2*a(n-4). - Harvey P. Dale, Mar 07 2013
MATHEMATICA
CoefficientList[Series[(1/(1-x))/(1-2x+x^2+2x^3), {x, 0, 50}], x] (* or *) LinearRecurrence[{3, -3, -1, 2}, {1, 3, 6, 8}, 50] (* Harvey P. Dale, Mar 07 2013 *)
CROSSREFS
Sequence in context: A340794 A345204 A009393 * A377594 A181165 A181906
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved