OFFSET
0,2
COMMENTS
Binomial transform of A083495.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
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
KEYWORD
nonn,easy
AUTHOR
Paul Barry, May 02 2003
STATUS
approved