login
A005032
a(n) = 7*3^n.
12
7, 21, 63, 189, 567, 1701, 5103, 15309, 45927, 137781, 413343, 1240029, 3720087, 11160261, 33480783, 100442349, 301327047, 903981141, 2711943423, 8135830269, 24407490807, 73222472421, 219667417263, 659002251789, 1977006755367, 5931020266101, 17793060798303
OFFSET
0,1
FORMULA
From Vincenzo Librandi, Sep 15 2011: (Start)
G.f.: 7/(1-3*x).
a(n) = 3*a(n-1), a(0)=7. (End)
E.g.f.: 7*exp(3*x). - Stefano Spezia, Aug 28 2023
MATHEMATICA
7*3^Range[0, 60] (* Vladimir Joseph Stephan Orlovsky, Jun 09 2011 *)
NestList[3#&, 7, 30] (* Harvey P. Dale, May 05 2016 *)
PROG
(Magma) [7*3^n: n in [0..30]]; // Vincenzo Librandi, Sep 15 2011
(PARI) a(n)=7*3^n \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Cf. A000244.
Sequence in context: A146139 A083596 A082541 * A152766 A152671 A113859
KEYWORD
nonn,easy
STATUS
approved