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