login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A074580
a(n) = 7^n + 8^n + 9^n.
85
3, 24, 194, 1584, 13058, 108624, 911234, 7703664, 65588738, 561991824, 4843001474, 41948320944, 364990300418, 3188510652624, 27953062038914, 245823065693424, 2167728096132098, 19161612027339024, 169737447404391554
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-7*x) + 1/(1-8*x) + 1/(1-9*x).
E.g.f.: e^(7*x) + e^(8*x) + e^(9*x). (End)
MATHEMATICA
Table[7^n + 8^n + 9^n, {n, 0, 18}]
LinearRecurrence[{24, -191, 504}, {3, 24, 194}, 20] (* Harvey P. Dale, Jun 09 2019 *)
PROG
(Magma) [7^n + 8^n + 9^n: n in [0..20]]; // Vincenzo Librandi, May 20 2011
(PARI) a(n)=7^n+8^n+9^n \\ Charles R Greathouse IV, Jun 10 2011
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved