OFFSET
0,4
FORMULA
E.g.f.: - x/(-1 + x)^2 + 1/(1 + W(-x)), where W(x) is the principal branch of Lambert's function. - Stefano Spezia, Sep 08 2019
MATHEMATICA
Array[#^# - # #! &, 20] (* Michael De Vlieger, Sep 29 2019 *)
PROG
(PARI) a(n) = n^n - n*n!; \\ Michel Marcus, Aug 05 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Francesco Scavello, Aug 04 2019
STATUS
approved