The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A074560 a(n) = 3^n + 8^n + 9^n. 1
3, 20, 154, 1268, 10738, 92060, 794314, 6882308, 59830498, 521657900, 4560585274, 39971171348, 351149544658, 3091623236540, 27274843749034, 241075518532388, 2134495208609218, 18928981642491980, 168109034193901594, 1494966906911109428, 13310586967150560178 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
From Mohammad K. Azarian, Dec 30 2008: (Start)
G.f.: 1/(1-3*x) + 1/(1-8*x) + 1/(1-9*x).
E.g.f.: exp(3*x) + exp(8*x) + exp(9*x). (End)
a(n) = 20*a(n-1) - 123*a(n-2) + 216*a(n-3) for n>2. - Wesley Ivan Hurt, Aug 15 2016
MAPLE
A074560:=n->3^n + 8^n + 9^n: seq(A074560(n), n=0..25); # Wesley Ivan Hurt, Aug 15 2016
MATHEMATICA
Table[3^n + 8^n + 9^n, {n, 0, 20}]
LinearRecurrence[{20, -123, 216}, {3, 20, 154}, 25] (* G. C. Greubel, Aug 15 2016 *)
PROG
(Magma) [3^n + 8^n + 9^n: n in [0..20]]; // Vincenzo Librandi, Aug 24 2011
CROSSREFS
Sequence in context: A091172 A091168 A126596 * A123355 A371815 A258791
KEYWORD
easy,nonn
AUTHOR
Robert G. Wilson v, Aug 23 2002
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 4 15:36 EDT 2024. Contains 373099 sequences. (Running on oeis4.)