OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-2,-6,4,2,-1).
FORMULA
G.f.: -x*(-3+3*x+x^2) / ( (x-1)*(1+x)*(x^2-3*x+1)*(x^2+x-1) ). - R. J. Mathar, May 17 2014
EXAMPLE
For n=5, a(n) = F(2*5+3) - F(5+2) - 0 = 233 - 13 = 220.
MATHEMATICA
LinearRecurrence[{4, -2, -6, 4, 2, -1}, {0, 3, 9, 29, 80, 220}, 30] (* Harvey P. Dale, Aug 15 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
J. M. Bergot, May 17 2014
STATUS
approved