login
A189736
a(1)=3, a(2)=2, a(n)=3*a(n-1) + 2*a(n-2)
13
3, 2, 12, 40, 144, 512, 1824, 6496, 23136, 82400, 293472, 1045216, 3722592, 13258208, 47219808, 168175840, 598967136, 2133253088, 7597693536, 27059586784, 96374147424, 343241615840, 1222473142368, 4353902658784, 15506654261088, 55227768100832
OFFSET
1,1
FORMULA
G.f.: x*(3-7*x)/(1-3*x-2*x^2). - Bruno Berselli, May 24 2011
MATHEMATICA
LinearRecurrence[{3, 2}, {3, 2}, 40]
PROG
(Maxima) a[1]:3$ a[2]:2$ a[n]:=3*a[n-1]+2*a[n-2]$ makelist(a[n], n, 1, 26); /* Bruno Berselli, May 24 2011 */
KEYWORD
nonn,easy
AUTHOR
Harvey P. Dale, Apr 26 2011
STATUS
approved