OFFSET
0,3
COMMENTS
Number of endofunctions on [n] such that no element has a preimage of cardinality n. - Alois P. Heinz, Jul 21 2014
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
FORMULA
E.g.f.: 1/(1 + LambertW(-x)) - x*exp(x), where LambertW() is the Lambert W-function. - Ilya Gutkovskiy, Feb 08 2017
a(n) = n*A037205(n-1). - R. J. Mathar, Jul 02 2017
MATHEMATICA
Table[n^n-n, {n, 25}] (* Vladimir Joseph Stephan Orlovsky, Dec 28 2010 *)
PROG
(Magma) [n^n - n : n in [0..20]]; // Vincenzo Librandi, Sep 01 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Lawrence H. Shirley (LShirley(AT)towson.edu), May 30 2001
EXTENSIONS
a(0)=1 inserted by Alois P. Heinz, Jul 21 2014
STATUS
approved