OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..400
Index entries for linear recurrences with constant coefficients, signature (21,-189,945,-2835,5103,-5103,2187).
FORMULA
a(n) = 3^n*binomial(n+6, 6).
a(n) = A027465(n+7,7).
G.f.: 1/(1-3*x)^7.
E.g.f.: (1/80)*(80 + 1440*x + 5400*x^2 + 7200*x^3 + 4050*x^4 + 972*x^5 + 81*x^6)*exp(3*x). - G. C. Greubel, May 19 2021
From Amiram Eldar, Sep 22 2022: (Start)
Sum_{n>=0} 1/a(n) = 1173/5 - 576*log(3/2).
Sum_{n>=0} (-1)^n/a(n) = 18432*log(4/3) - 26508/5. (End)
MAPLE
seq(3^n*binomial(n+6, 6), n=0..20); # Zerinvary Lajos, Jun 16 2008
MATHEMATICA
Table[3^n*Binomial[n+6, 6], {n, 0, 30}] (* G. C. Greubel, May 19 2021 *)
PROG
(Sage) [3^n*binomial(n+6, 6) for n in range(30)] # Zerinvary Lajos, Mar 10 2009
(Magma) [3^n*Binomial(n+6, 6): n in [0..30]]; // Vincenzo Librandi, Oct 15 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
STATUS
approved