OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-3,1,0,0,1).
FORMULA
G.f.: x(1-x)/((1-x)^3-x^6); a(n)=sum{k=0..floor(n/6), C(n-3k, 3k+1)}.
MATHEMATICA
LinearRecurrence[{3, -3, 1, 0, 0, 1}, {0, 1, 2, 3, 4, 5}, 40] (* Harvey P. Dale, Aug 06 2018 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jan 13 2005
STATUS
approved