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

A189739
a(1)=3, a(2)=5, a(n)=3*a(n-1) + 5*a(n-2).
14
3, 5, 30, 115, 495, 2060, 8655, 36265, 152070, 637535, 2672955, 11206540, 46984395, 196985885, 825879630, 3462568315, 14517103095, 60864150860, 255177968055, 1069854658465, 4485453815670, 18805634739335, 78844173296355, 330560693585740, 1385902947238995
OFFSET
1,1
FORMULA
G.f.: x*(3-4*x)/(1-3*x-5*x^2). - Bruno Berselli, May 24 2011
MATHEMATICA
LinearRecurrence[{3, 5}, {3, 5}, 40]
PROG
(Maxima) a[1]:3$ a[2]:5$ a[n]:=3*a[n-1]+5*a[n-2]$ makelist(a[n], n, 1, 25); /* Bruno Berselli, May 24 2011 */
(PARI) Vec(x*(3-4*x)/(1-3*x-5*x^2)+O(x^99)) \\ Charles R Greathouse IV, Jul 15 2011
CROSSREFS
Sequence in context: A181429 A162262 A151373 * A372800 A035410 A290487
KEYWORD
nonn,easy
AUTHOR
Harvey P. Dale, Apr 26 2011
STATUS
approved