OFFSET
1,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,4,-1,-4,1,1).
FORMULA
a(n) = a(n-1)+4*a(n-2)-a(n-3)-4a(n-4)+a(n-5)+a(n-6).
G.f.: x^2*(x^2+x-1)/(x^6+x^5-4*x^4-x^3+4*x^2+x-1). [Colin Barker, Jul 27 2012]
EXAMPLE
MATHEMATICA
(See A192616.)
LinearRecurrence[{1, 4, -1, -4, 1, 1}, {0, 1, 0, 3, 2, 10}, 40] (* Harvey P. Dale, Feb 23 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 09 2011
STATUS
approved