OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (3, -3, 3, -1).
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
KEYWORD
nonn
AUTHOR
STATUS
approved