OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
MAPLE
seq(3*n*(3*n+1)*(3*n+2), n = 1..35);
MATHEMATICA
CoefficientList[Series[6 (10 + 16 x + x^2)/(1 - x)^4, {x, 0, 40}], x] (* Vincenzo Librandi, Sep 10 2013 *)
Table[Times@@(3n+{0, 1, 2}), {n, 40}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {60, 336, 990, 2184}, 40] (* Harvey P. Dale, Dec 20 2023 *)
PROG
(Magma) [3*n*(3*n+1)*(3*n+2): n in [1..40]]; // Vincenzo Librandi, Sep 10 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Bala, Sep 09 2013
STATUS
approved