OFFSET
1,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,1,1,1,1,1).
FORMULA
G.f.: x^2*(5*x^4+2*x^3-x-1) / (x^6+x^5+x^4+x^3+x^2+x-1). - Colin Barker, Oct 27 2014
MATHEMATICA
a=0; b=1; c=2; d=3; e=4; f=5; lst={a, b, c, d, e, f}; Do[g=a+b+c+d+e+f; AppendTo[lst, g]; a=b; b=c; c=d; d=e; e=f; f=g, {n, 3!}]; lst
LinearRecurrence[{1, 1, 1, 1, 1, 1}, {0, 1, 2, 3, 4, 5}, 40] (* Harvey P. Dale, Mar 10 2016 *)
PROG
(PARI) concat(0, Vec(x^2*(5*x^4+2*x^3-x-1)/(x^6+x^5+x^4+x^3+x^2+x-1) + O(x^100))) \\ Colin Barker, Oct 27 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Sep 30 2008
STATUS
approved