OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = a(n-1) + 27*n - 13 for n>0, a(0)=0. - Vincenzo Librandi, Aug 04 2010
a(0)=0, a(1)=14, a(2)=55; for n>2, a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). -Harvey P. Dale, Sep 20 2011
G.f.: x*(13*x + 14)/(1-x)^3. - Harvey P. Dale, Sep 20 2011
a(n) = 12/(n+2)!*Sum_{j=0..n} (-1)^(n-j)*binomial(n,j)*(j+n)^(n+2). - Vladimir Kruchinin, Jun 04 2013
E.g.f.: (x/2)*(27*x + 28)*exp(x). - G. C. Greubel, Aug 23 2017
MAPLE
MATHEMATICA
Table[n (27 n + 1)/2, {n, 0, 40}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 14, 55}, 40] (* Harvey P. Dale, Sep 20 2011 *)
PROG
(PARI) a(n)=n*(27*n+1)/2 \\ Charles R Greathouse IV, Jun 17 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved