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

A189748
a(n) = 5*a(n-1) + 4*a(n-2) with a(1)=5, a(2)=4.
12
5, 4, 40, 216, 1240, 7064, 40280, 229656, 1309400, 7465624, 42565720, 242691096, 1383718360, 7889356184, 44981654360, 256465696536, 1462255100120, 8337138286744, 47534711834200, 271022112317976, 1545249408926680, 8810335493905304, 50232675105233240
OFFSET
1,1
FORMULA
G.f.: x*(5-21*x)/(1-5*x-4*x^2). - Bruno Berselli, May 24 2011
MATHEMATICA
LinearRecurrence[{5, 4}, {5, 4}, 40]
PROG
(Maxima) a[1]:5$ a[2]:4$ a[n]:=5*a[n-1]+4*a[n-2]$ makelist(a[n], n, 1, 23); /* Bruno Berselli, May 24 2011 */
KEYWORD
nonn,easy
AUTHOR
Harvey P. Dale, Apr 26 2011
STATUS
approved