OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,1,-6,7,8,-16)
FORMULA
G.f.: ( 1-x-x^2 ) / ( (4*x^3+3*x^2-x-1)*(4*x^3-5*x^2+3*x-1) )
a(n) = 2*a(n-1)+a(n-2)- 6*a(n-3)+7*a(n-4)+8*a(n-5)-16*a(n-6). [Harvey P. Dale, Sep 11 2011]
MATHEMATICA
CoefficientList[Series[(1-x-x^2)/(1-2x-x^2+6x^3-7x^4-8x^5+16x^6), {x, 0, 50}], x] (* or *) LinearRecurrence[{2, 1, -6, 7, 8, -16}, {1, 1, 2, -1, 1, 4}, 50] (* Harvey P. Dale, Sep 11 2011 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Paul Barry, Jan 24 2011
STATUS
approved