A076728 a(n) = (n-1)^2 * n^(n-2).
0, 1, 12, 144, 2000, 32400, 605052, 12845056, 306110016, 8100000000, 235794769100, 7492001071104, 258071096741328, 9581271191425024, 381454233398437500, 16212958658533785600, 732780301186512843008, 35096024486915738763264, 1775645341922275908244236
Offset: 1
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..386
- Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets
Crossrefs
Column k=0 of A245692.
Programs
-
Mathematica
Table[Sum[Binomial[n,k] n^k k, {k,0,n}], {n,1,20}] (* Geoffrey Critzer, Feb 08 2012 *)
-
PARI
a(n) = (n-1)^2*n^(n-2)
Extensions
a(1)=0 prepended by Max Alekseyev, Sep 23 2015
Some terms corrected by Alois P. Heinz, May 22 2016
Comments