OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Hermite Polynomial.
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
a(n) = 8*n^3 - 12*n.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4).
G.f.: -4*x*(1-14*x+x^2)/(x-1)^4.
MAPLE
MATHEMATICA
CoefficientList[Series[-4*x*(1-14*x+x^2)/(x-1)^4, {x, 0, 40}], x] (* Vincenzo Librandi, Mar 05 2012 *)
LinearRecurrence[{4, -6, 4, -1}, {0, -4, 40, 180}, 40] (* Harvey P. Dale, Aug 14 2014 *)
PROG
(Magma) [8*n^3-12*n: n in [0..40]]; // Vincenzo Librandi, Mar 05 2012
(PARI) a(n)=8*n^3-12*n \\ Charles R Greathouse IV, Jan 29 2016
(Python)
from sympy import hermite
def A163322(n): return hermite(3, n) # Chai Wah Wu, Jan 06 2022
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Vincenzo Librandi, Jul 25 2009
EXTENSIONS
Edited by R. J. Mathar, Jul 26 2009
STATUS
approved