OFFSET
0,3
COMMENTS
A variant of A000169, which is the main entry for this sequence. - N. J. A. Sloane, Dec 19 2008
FORMULA
a(n) = 0 if n = 0, otherwise a(n) = n^(n-1).
E.g.f.: A(x)=x*G(0) ; G(k)= 1 + x*(2*k+2)^(2*k)/((2*k+1)^(2*k) - x*(2*k+1)^(2*k)*(2*k+3)^(2*k+1)/(x*(2*k+3)^(2*k+1) + (2*k+2)^(2*k+1)/G(k+1))); (continued fraction). - Sergei N. Gladkovskii, Dec 30 2011
E.g.f.: -LambertW(-x). - Alois P. Heinz, Feb 26 2020
EXAMPLE
a(10) = 10^9 = 1000000000.
MATHEMATICA
Join[{0}, Table[n^(n-1), {n, 20}]] (* Harvey P. Dale, Jan 28 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
ShaoJun Ying (dolphinysj(AT)gmail.com), Dec 15 2008
STATUS
approved