login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A129939
"Self-Lucas"; a(n) is the sum of the last 5 terms. Sequence starts with 12,21,3,1,19 which are l,u,c,a,s if you consider a=1, b=2, c=3, ..., z=26.
2
12, 21, 3, 1, 19, 56, 100, 179, 355, 709, 1399, 2742, 5384, 10589, 20823, 40937, 80475, 158208, 311032, 611475, 1202127, 2363317, 4646159, 9134110, 17957188, 35302901, 69403675, 136444033, 268241907, 527349704, 1036742220, 2038181539, 4006959403, 7877474773
OFFSET
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
Cf. A129938.
Sequence in context: A377248 A078600 A076638 * A082799 A089320 A227073
KEYWORD
base,easy,nonn,word
AUTHOR
Eric Angelini, Jun 09 2007
EXTENSIONS
More terms from R. J. Mathar, Sep 02 2007
STATUS
approved