login
A013326
Expansion of -(2*x^3-x^2+x-1)/(x^4-3*x^3+3*x^2-3*x+1).
0
1, 2, 4, 7, 14, 31, 68, 146, 313, 674, 1453, 3130, 6740, 14515, 31262, 67331, 145012, 312314, 672637, 1448674, 3120041, 6719698, 14472356, 31169423, 67130254, 144579863, 311384740, 670635970, 1444363025
OFFSET
0,2
FORMULA
a(0)=1, a(1)=2, a(2)=4, a(3)=7, a(n)=3*a(n-1)-3*a(n-2)+3*a(n-3)-a(n-4). - Harvey P. Dale, May 22 2013
MATHEMATICA
CoefficientList[Series[-(2x^3-x^2+x-1)/(x^4-3x^3+3x^2-3x+1), {x, 0, 30}], x] (* or *) LinearRecurrence[{3, -3, 3, -1}, {1, 2, 4, 7}, 30] (* Harvey P. Dale, May 22 2013 *)
CROSSREFS
Sequence in context: A202849 A202842 A364589 * A202973 A372265 A074663
KEYWORD
nonn
AUTHOR
STATUS
approved