A083583 a(n) = (8*3^n - 5*0^n)/3.
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
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..300
- Index entries for linear recurrences with constant coefficients, signature (3).
Crossrefs
Cf. A083854.
Programs
-
Magma
[(8*3^n-5*(0)^n)/3: n in [0..30]]; // Vincenzo Librandi, Jun 10 2011
-
Mathematica
Join[{1},NestList[3#&,8,30]] (* Harvey P. Dale, Apr 08 2020 *)
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