OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (15,-90,270,-405,243).
FORMULA
G.f.: (1-2*x)/(1-3*x)^5.
For n>4, a(n)=15*a(n-1)-90*a(n-2)+270*a(n-3)-405*a(n-4)+243*a(n-5). - Harvey P. Dale, Oct 22 2011
From G. C. Greubel, Dec 22 2023: (Start)
a(n) = A136158(n+4,4).
E.g.f.: (1/8)*(8 + 80*x + 144*x^2 + 72*x^3 + 9*x^4)*exp(3*x). (End)
From Amiram Eldar, Jan 11 2024: (Start)
Sum_{n>=0} 1/a(n) = 662816499/42350 - 2122848*log(3/2)/55.
Sum_{n>=0} (-1)^n/a(n) = 2135808*log(4/3)/55 - 94614897/8470. (End)
MATHEMATICA
Table[(n + 1) (n + 2) (n + 3) (n + 12) 3^n/72, {n, 0, 30}] (* or *) LinearRecurrence[ {15, -90, 270, -405, 243}, {1, 13, 105, 675, 3780}, 30] (* Harvey P. Dale, Oct 22 2011 *)
CoefficientList[Series[(1 - 2 x) / (1 - 3 x)^5, {x, 0, 30}], x] (* Vincenzo Librandi, Aug 05 2013 *)
PROG
(Magma) [(n+1)*(n+2)*(n+3)*(n+12)*3^n/72: n in [0..30]]; // Vincenzo Librandi, Aug 05 2013
(SageMath) [(n+1)*(n+2)*(n+3)*(n+12)*3^(n-3)/8 for n in range(31)] # G. C. Greubel, Dec 22 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Feb 19 2003
STATUS
approved