OFFSET
1,4
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..1000
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^2*(x^2+x-1)/((x^2-x-1)*(x^4+2*x^3-3*x^2-2*x+1)). [Colin Barker, Nov 23 2012]
EXAMPLE
MATHEMATICA
LinearRecurrence[{1, 6, -1, -6, 1, 1}, {0, 1, 0, 5, 4, 28}, 35] (* Paolo Xausa, May 19 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Jul 09 2011
EXTENSIONS
More terms from Paolo Xausa, May 19 2026
STATUS
approved
