[go: up one dir, main page]

login
A189742
a(1)=4, a(2)=3, a(n) = 4*a(n-1) + 3*a(n-2).
13
4, 3, 24, 105, 492, 2283, 10608, 49281, 228948, 1063635, 4941384, 22956441, 106649916, 495468987, 2301825696, 10693709745, 49680316068, 230802393507, 1072250522232, 4981409269449, 23142388644492, 107513782386315, 499482295478736, 2320470529073889
OFFSET
1,1
FORMULA
G.f.: x*(4-13*x)/(1-4*x-3*x^2). - Bruno Berselli, May 24 2011
MATHEMATICA
LinearRecurrence[{4, 3}, {4, 3}, 40]
PROG
(Maxima) a[1]:4$ a[2]:3$ a[n]:=4*a[n-1]+3*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