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

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