login
A077853
Expansion of (1-x)^(-1)/(1-2*x+2*x^3).
0
1, 3, 7, 13, 21, 29, 33, 25, -7, -79, -207, -399, -639, -863, -927, -575, 577, 3009, 7169, 13185, 20353, 26369, 26369, 12033, -28671, -110079, -244223, -431103, -642047, -795647, -729087, -174079, 1243137, 3944449, 8237057, 13987841, 20086785, 23699457, 19423233, -1327103
OFFSET
0,2
FORMULA
a(0)=1, a(1)=3, a(2)=7, a(3)=13, a(n)=3*a(n-1)-2*a(n-2)- 2*a(n-3)+ 2*a(n-4) From Harvey P. Dale, May 27 2012
MATHEMATICA
CoefficientList[Series[(1-x)^(-1)/(1-2 x+2 x^3), {x, 0, 40}], x] (* or *) LinearRecurrence[{3, -2, -2, 2}, {1, 3, 7, 13}, 40] (* Harvey P. Dale, May 27 2012 *)
CROSSREFS
Sequence in context: A299478 A355310 A299476 * A256588 A025721 A298267
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Nov 17 2002
STATUS
approved