login
A074578
a(n) = 6^n + 7^n + 9^n.
1
3, 22, 166, 1288, 10258, 83632, 695746, 5886448, 50491138, 437851792, 3829725826, 33721183408, 298447606018, 2651815532752, 23633379691906, 211108878589168, 1889074229328898, 16926738873098512, 151824608851577986
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Dec 30 2008: (Start)
G.f.: 1/(1-6*x) + 1/(1-7*x) + 1/(1-9*x).
E.g.f.: e^(6*x) + e^(7*x) + e^(9*x). (End)
MATHEMATICA
Table[6^n + 7^n + 9^n, {n, 0, 20}]
LinearRecurrence[{22, -159, 378}, {3, 22, 166}, 20] (* Harvey P. Dale, Sep 26 2016 *)
PROG
(Magma) [6^n + 7^n + 9^n: n in [0..20]]; // Vincenzo Librandi, May 20 2011
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved