login
A083583
a(n) = (8*3^n - 5*0^n)/3.
2
1, 8, 24, 72, 216, 648, 1944, 5832, 17496, 52488, 157464, 472392, 1417176, 4251528, 12754584, 38263752, 114791256, 344373768, 1033121304, 3099363912, 9298091736, 27894275208, 83682825624, 251048476872, 753145430616, 2259436291848
OFFSET
0,2
FORMULA
a(n) = (8*3^n - 5*0^n)/3.
G.f.: (1+5*x)/(1-3*x).
E.g.f.: (8*exp(3x) - 5*exp(0))/3.
a(n) = A005051(n-1), n > 0. - R. J. Mathar, Sep 17 2008
MATHEMATICA
Join[{1}, NestList[3#&, 8, 30]] (* Harvey P. Dale, Apr 08 2020 *)
PROG
(Magma) [(8*3^n-5*(0)^n)/3: n in [0..30]]; // Vincenzo Librandi, Jun 10 2011
CROSSREFS
Cf. A083854.
Sequence in context: A200253 A343546 A199911 * A005051 A303402 A078158
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 01 2003
STATUS
approved