|
|
A108981
|
|
a(n) = 3a(n-1) + 4a(n-2), a(0) = 1, a(1) = 5.
|
|
7
|
|
|
1, 5, 19, 77, 307, 1229, 4915, 19661, 78643, 314573, 1258291, 5033165, 20132659, 80530637, 322122547, 1288490189, 5153960755, 20615843021, 82463372083, 329853488333, 1319413953331, 5277655813325, 21110623253299
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
The Hankel transform of this sequence is [1,-6,0,0,0,0,0,0,0,0,...]. - Philippe Deléham, Apr 15 2008
Let A be the Hessenberg matrix of order n, defined by: A[1,j]=1, A[i,i]:=-2, A[i,i-1]=-1, and A[i,j]=0 otherwise. Then, for n >= 1, a(n-1) = charpoly(A,2). - Milan Janjic, Jan 26 2010
|
|
LINKS
|
|
|
FORMULA
|
Inverse binomial transform of A003948.
a(2n) = 4a(2n-1) - 1; a(2n+1) = 4a(2n) + 1.
|
|
MATHEMATICA
|
LinearRecurrence[{3, 4}, {1, 5}, 30] (* Harvey P. Dale, Feb 16 2014 *)
|
|
PROG
|
(Magma) I:=[1, 5]; [n le 2 select I[n] else 3*Self(n-1)+4*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Feb 17 2014
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|