login
A189746
a(1)=5, a(2)=2, a(n) = 5*a(n-1) + 2*a(n-2)
12
5, 2, 20, 104, 560, 3008, 16160, 86816, 466400, 2505632, 13460960, 72316064, 388502240, 2087143328, 11212721120, 60237892256, 323614903520, 1738550302112, 9339981317600, 50177007192224, 269564998596320, 1448179007366048, 7780025034022880, 41796483184846496
OFFSET
1,1
FORMULA
G.f.: x*(5-23*x)/(1-5*x-2*x^2). - Bruno Berselli, May 24 2011
MATHEMATICA
LinearRecurrence[{5, 2}, {5, 2}, 40]
PROG
(Maxima) a[1]:5$ a[2]:2$ a[n]:=5*a[n-1]+2*a[n-2]$ makelist(a[n], n, 1, 24); /* Bruno Berselli, May 24 2011 */
KEYWORD
nonn,easy
AUTHOR
Harvey P. Dale, Apr 26 2011
STATUS
approved