OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000 (terms 4..500 from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (1,1,0,0,1).
FORMULA
G.f.: (1 + x + x^2 + 2*x^3 + x^4)/(1 - x - x^2 - x^5). - R. J. Mathar, Nov 30 2011
MATHEMATICA
LinearRecurrence[{1, 1, 0, 0, 1}, {1, 2, 4, 8, 13}, 50] (* G. C. Greubel, Sep 19 2017 *)
CoefficientList[Series[(1 + x + x^2 + 2*x^3 + x^4)/(1 - x - x^2 - x^5), {x, 0, 50}], x] (* G. C. Greubel, Sep 21 2017 *)
PROG
(PARI) x='x+O('x^50); Vec((1 + x + x^2 + 2*x^3 + x^4)/(1 - x - x^2 - x^5)) \\ G. C. Greubel, Sep 21 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved