[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A082541
a(n) = (7*3^n - 4*0^n)/3.
5
1, 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
OFFSET
0,2
COMMENTS
Binomial transform of A083495.
FORMULA
G.f.: (1+4*x)/(1-3*x).
E.g.f.: (7*exp(3*x) - 4*exp(0))/3.
a(n) = A005032(n-1), n > 0. - R. J. Mathar, Sep 17 2008
MATHEMATICA
Join[{1}, NestList[3#&, 7, 30]] (* Harvey P. Dale, May 07 2019 *)
PROG
(Magma) [(7*3^n-4*0^n)/3: n in [0..30]]; // Vincenzo Librandi, Sep 15 2011
(PARI) a(n)=(7*3^n-4*0^n)/3 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Cf. A083497.
Sequence in context: A088656 A146139 A083596 * A005032 A152766 A152671
KEYWORD
nonn,easy
AUTHOR
Paul Barry, May 02 2003
STATUS
approved