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