|
|
A118004
|
|
a(n) = 9^n - 4^n.
|
|
5
|
|
|
0, 5, 65, 665, 6305, 58025, 527345, 4766585, 42981185, 387158345, 3485735825, 31376865305, 282412759265, 2541798719465, 22876524019505, 205890058352825, 1853015893884545, 16677164519797385, 150094566577522385
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
G.f.: 5*x / ( (9*x-1)*(4*x-1) ). - R. J. Mathar, Mar 18 2011
|
|
MATHEMATICA
|
Table[9^n-4^n, {n, 0, 20}] (* or *) LinearRecurrence[{13, -36}, {0, 5}, 20] (* Harvey P. Dale, May 11 2017 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|