OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (1,1,1,1,1).
FORMULA
G.f.: x*(-12+18*x^4+35*x^3+30*x^2-9*x)/(-1+x^5+x^4+x^3+x^2+x). - Maksym Voznyy (voznyy(AT)mail.ru), Aug 12 2009
MAPLE
A129939 := proc(n) option remember ; if n <= 5 then op(n, [12, 21, 3, 1, 19]) ; else add(A129939(n-i), i=1..5) fi ; end: seq(A129939(n), n=1..50) ; # R. J. Mathar, Sep 02 2007
PROG
(PARI) Vec(x*(12+9*x-30*x^2-35*x^3-18*x^4)/(1-x-x^2-x^3-x^4-x^5) + O(x^50)) \\ Colin Barker, Mar 11 2016
CROSSREFS
KEYWORD
base,easy,nonn,word
AUTHOR
Eric Angelini, Jun 09 2007
EXTENSIONS
More terms from R. J. Mathar, Sep 02 2007
STATUS
approved