OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4), with a(0)=1, a(1)=60, a(2)=315, a(3)=910. - Harvey P. Dale, Oct 24 2014
G.f.: (1 + 56*x + 81*x^2 + 6*x^3)/(1-x)^4. - R. J. Mathar, Feb 06 2017
From G. C. Greubel, Mar 05 2020: (Start)
a(n) = n^2 * Pochhammer(2+1/n, 3).
E.g.f.: (1 + 59*x + 98*x^2 + 24*x^3)*exp(x). (End)
MAPLE
seq( (2*n+1)*(3*n+1)*(4*n+1), n=0..30); # G. C. Greubel, Mar 05 2020
MATHEMATICA
Table[(2n+1)(3n+1)(4n+1), {n, 0, 30}] (* or *) LinearRecurrence[{4, -6, 4, -1}, {1, 60, 315, 910}, 30] (* Harvey P. Dale, Oct 24 2014 *)
PROG
(PARI) vector(31, n, my(m=n-1); (2*m+1)*(3*m+1)*(4*m+1)) \\ G. C. Greubel, Mar 05 2020
(Magma) [(2*n+1)*(3*n+1)*(4*n+1): n in [0..30]]; // G. C. Greubel, Mar 05 2020
(Sage) [(2*n+1)*(3*n+1)*(4*n+1) for n in (0..30)] # G. C. Greubel, Mar 05 2020
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved