OFFSET
4,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 4..445
J. Riordan, Enumeration of trees by height and diameter, IBM J. Res. Dev. 4 (1960), 473-478
FORMULA
(3*n^2-21*n+28)*a(n) - n*(3*n^2-15*n+10)*a(n-1) = 0. - R. J. Mathar, Apr 03 2017
E.g.f.: x^4*(1 -8*x +4*x^2)/(3*(-1+x)^3). - G. C. Greubel, Feb 22 2018
MATHEMATICA
Table[n!*(3*n^2 -15*n +10)/6, {n, 4, 30}] (* G. C. Greubel, Feb 22 2018 *)
PROG
(PARI) for(n=4, 30, print1(n!*(3*n^2 -15*n +10)/6, ", ")) \\ G. C. Greubel, Feb 22 2018
(Magma) [Factorial(n)*(3*n^2 -15*n +10)/6: n in [4..30]]; // G. C. Greubel, Feb 22 2018
CROSSREFS
KEYWORD
sign
AUTHOR
EXTENSIONS
More terms from G. C. Greubel, Feb 22 2018
STATUS
approved