OFFSET
0,2
REFERENCES
Jolley, Summation of Series, Dover (1961), eq. 45 on page 8.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 2*5 + 5*8 + 8*11 + ... + (3*k-1)*(3*k+2) + ... (n terms) = n*A100536(n+1).
G.f.: -2*x*(-5 - 5*x + x^2) / (x-1)^4.
E.g.f.: exp (x)*(10*x + 15*x^2 + 3*x^3). - Franck Maminirina Ramaharo, Nov 22 2018
PROG
(Magma) [n*(3*n^2+6*n+1): n in [0..30]]; // Vincenzo Librandi, Oct 05 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Oct 03 2011
STATUS
approved