|
|
A155593
|
|
a(n) = 9^n + 2^n - 1.
|
|
18
|
|
|
1, 10, 84, 736, 6576, 59080, 531504, 4783096, 43046976, 387421000, 3486785424, 31381061656, 282429540576, 2541865836520, 22876792471344, 205891132127416, 1853020188917376, 16677181699797640, 150094635297261264
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: 1/(1-9*x)+1/(1-2*x)-1/(1-x).
E.g.f.: e^(9*x)+e^(2*x)-e^x.
|
|
MATHEMATICA
|
Table[9^n+2^n-1, {n, 0, 30}] (* or *) LinearRecurrence[{12, -29, 18}, {1, 10, 84}, 30] (* Harvey P. Dale, Sep 09 2022 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|