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”).

A276139
Series expansion of (1 + 2x + 4x^2)/(1 - 3x - 5x^2).
0
1, 5, 24, 97, 411, 1718, 7209, 30217, 126696, 531173, 2226999, 9336862, 39145581, 164121053, 688091064, 2884878457, 12095090691, 50709664358, 212604446529, 891361661377, 3737107216776, 15668129957213, 65689925955519, 275410427652622, 1154680912735461, 4841094876469493
OFFSET
0,2
FORMULA
a(0)=1, a(1)=5, a(2)=24, a(n) = 3*a(n-1) + 5*a(n-2) for n>2.
MATHEMATICA
CoefficientList[ Series[(1 + 2x + 4x^2)/(1 - 3x - 5x^2), {x, 0, 25}], x]
a[0] = 1; a[1] = 5; a[2] = 24; a[n_] := 3 a[n - 1] + 5 a[n - 2]; Array[a, 26, 0]
Join[{1}, LinearRecurrence[{3, 5}, {5, 24}, 25]]
PROG
(PARI) Vec((1 + 2*x + 4*x^2)/(1 - 3*x - 5*x^2) + O(x^30)) \\ Michel Marcus, Oct 03 2016
CROSSREFS
Sequence in context: A087095 A099653 A270126 * A078820 A291395 A179417
KEYWORD
nonn,easy
AUTHOR
Robert G. Wilson v, Sep 28 2016
STATUS
approved