|
|
A048498
|
|
2^(n-1)*(5n-8)+5.
|
|
1
|
|
|
1, 2, 9, 33, 101, 277, 709, 1733, 4101, 9477, 21509, 48133, 106501, 233477, 507909, 1097733, 2359301, 5046277, 10747909, 22806533, 48234501, 101711877, 213909509, 448790533, 939524101, 1962934277, 4093640709, 8522825733
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(0)=1, a(1)=2, a(2)=9, a(n)=5*a(n-1)-8*a(n-2)+4*a(n-3). - Harvey P. Dale, Jun 14 2011
G.f.: (-1+3*x-7*x^2)/((-1+x)(-1+2*x)^2). - Harvey P. Dale, Jun 14 2011
|
|
MAPLE
|
|
|
MATHEMATICA
|
Table[2^(n-1) (5n-8)+5, {n, 0, 35}] (* or *) LinearRecurrence[{5, -8, 4}, {1, 2, 9}, 35] (* Harvey P. Dale, Jun 14 2011 *)
|
|
PROG
|
|
|
CROSSREFS
|
a(n)=T(4, n), array T given by A048494.
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|