login
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