OFFSET
0,7
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1,0,0,2).
FORMULA
G.f.: (1-x)^2/((1-x)^3 - 2*x^6).
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3) + 2*a(n-6).
MATHEMATICA
LinearRecurrence[{3, -3, 1, 0, 0, 2}, {1, 1, 1, 1, 1, 1}, 38] (* James C. McMahon, Dec 22 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Nov 06 2004
STATUS
approved