[go: up one dir, main page]

login
A189747
a(1)=5, a(2)=3, a(n)=5*a(n-1) + 3*a(n-2)
12
5, 3, 30, 159, 885, 4902, 27165, 150531, 834150, 4622343, 25614165, 141937854, 786531765, 4358472387, 24151957230, 133835203311, 741631888245, 4109665051158, 22773220920525, 126195099756099, 699295161542070, 3875061106978647, 21473191019519445
OFFSET
1,1
FORMULA
G.f.: x*(5-22*x)/(1-5*x-3*x^2). - Bruno Berselli, May 24 2011
MATHEMATICA
LinearRecurrence[{5, 3}, {5, 3}, 40]
PROG
(Maxima) a[1]:5$ a[2]:3$ a[n]:=5*a[n-1]+3*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