OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..380
FORMULA
a(n) = (n^n + n)/2.
a(n) = A066068(n)/2, for n > 0.
E.g.f.: (1/2)*(x*exp(x) - LambertW(-x)/(1 + LambertW(-x))). - G. C. Greubel, Jul 23 2023
MATHEMATICA
Table[n^n+n, {n, 30}]/2
PROG
(Magma) [(n+n^n)/2: n in [1..30]]; // G. C. Greubel, Jul 23 2023
(SageMath) [(n+n^n)/2 for n in range(1, 31)] # G. C. Greubel, Jul 23 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Apr 12 2006
STATUS
approved