[go: up one dir, main page]

login
A074579
a(n) = 6^n + 8^n + 9^n.
2
3, 23, 181, 1457, 11953, 99593, 840241, 7160057, 61503553, 531715913, 4620992401, 40333791257, 353325795553, 3104682336233, 27353203130161, 241545689168057, 2137316275469953, 18945908172796553, 168210593763149521
OFFSET
0,1
FORMULA
From Mohammad K. Azarian, Dec 26 2008: (Start)
G.f.: 1/(1-6*x) + 1/(1-8*x) + 1/(1-9*x).
E.g.f.: e^(6*x) + e^(8*x) + e^(9*x). (End)
a(n) = 23*a(n-1)-174*a(n-2)+432*a(n-3). - Wesley Ivan Hurt, Apr 17 2022
MATHEMATICA
Table[6^n + 8^n + 9^n, {n, 0, 20}]
LinearRecurrence[{23, -174, 432}, {3, 23, 181}, 30] (* Harvey P. Dale, Sep 20 2016 *)
PROG
(Magma) [6^n + 8^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