A053507 a(n) = binomial(n-1,2)*n^(n-3).
0, 0, 1, 12, 150, 2160, 36015, 688128, 14880348, 360000000, 9646149645, 283787919360, 9098660462034, 315866083233792, 11806916748046875, 472877960873902080, 20205339187128111480, 917543123840934346752, 44131536275846038655193
Offset: 1
References
- R. P. Stanley, Enumerative Combinatorics, Cambridge, Vol. 2, 1999; see Prop. 5.3.2.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..100
Crossrefs
Programs
-
GAP
List([1..20], n-> Binomial(n-1,2)*n^(n-3)); # G. C. Greubel, May 15 2019
-
Magma
[Binomial(n-1,2)*n^(n-3):n in [1..20]]; // Vincenzo Librandi, Sep 22 2011
-
Magma
[Binomial(n-1,2)*n^(n-3): n in [1..20]]; // G. C. Greubel, May 15 2019
-
Mathematica
nn = 20; t = Sum[n^(n - 1) x^n/n!, {n, 1, nn}]; Rest[Range[0, nn]! CoefficientList[Series[t^3/3!, {x, 0, nn}], x]] (* Geoffrey Critzer, Jan 22 2012 *) Table[Binomial[n-1,2]n^(n-3),{n,20}] (* Harvey P. Dale, Sep 24 2019 *)
-
PARI
vector(20, n, binomial(n-1,2)*n^(n-3)) \\ G. C. Greubel, Jan 18 2017
-
Sage
[binomial(n-1,2)*n^(n-3) for n in (1..20)] # G. C. Greubel, May 15 2019
Formula
E.g.f.: -LambertW(-x)^3/3!. - Vladeta Jovovic, Apr 07 2001
Comments