OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,4,-4,-5,5,2,-2).
FORMULA
From Chai Wah Wu, Feb 02 2021: (Start)
a(n) = a(n-1) + 4*a(n-2) - 4*a(n-3) - 5*a(n-4) + 5*a(n-5) + 2*a(n-6) - 2*a(n-7) for n > 6.
G.f.: x*(-22*x^3 - x^2 + 11*x + 1)/((x - 1)^3*(x + 1)^2*(2*x^2 - 1)). (End)
MATHEMATICA
Accumulate[Rest[With[{nn=30}, Riffle[2^Range[0, nn]-1, 11Range[0, nn]]]]] (* Harvey P. Dale, Feb 13 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jeremy Gardiner, Aug 10 2003
STATUS
approved