login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061190 a(n) = n^n - n. 2
1, 0, 2, 24, 252, 3120, 46650, 823536, 16777208, 387420480, 9999999990, 285311670600, 8916100448244, 302875106592240, 11112006825558002, 437893890380859360, 18446744073709551600, 827240261886336764160, 39346408075296537575406, 1978419655660313589123960 (list; graph; refs; listen; history; text; internal format)
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
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
Main diagonal of A245405.
Sequence in context: A300400 A187584 A173228 * A300399 A221082 A002006
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 08:55 EDT 2024. Contains 371930 sequences. (Running on oeis4.)