OFFSET
0,7
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (1,0,2,-1,0,-1).
FORMULA
G.f.: x^3/((1-x^3)(1-x-x^3)).
a(n) = a(n-1) + 2*a(n-3) - a(n-4) - a(n-6).
a(n) = a(n-3) + A000930(n-3). - R. J. Mathar, Nov 24 2013
MATHEMATICA
Table[Sum[Binomial[n-2k, k-1], {k, 0, Floor[n/3]}], {n, 0, 50}] (* or *) LinearRecurrence[{1, 0, 2, -1, 0, -1}, {0, 0, 0, 1, 1, 1}, 50] (* Harvey P. Dale, May 25 2014 *)
CoefficientList[Series[x^3/((1 - x^3) (1 - x - x^3)), {x, 0, 50}], x] (* G. C. Greubel, Apr 28 2017 *)
PROG
(PARI) x='x+O('x^50); concat([0, 0, 0], Vec(x^3/((1-x^3)*(1-x-x^3)))) \\ G. C. Greubel, Apr 28 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 22 2004
STATUS
approved