OFFSET
1,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..200
R. K. Guy, Letter to N. J. A. Sloane, Jun 21, 1975
FORMULA
a(n) = (n^n-A241580(n+1,1))/n.
a(n) = A245687(n,1)/n. - Alois P. Heinz, Jul 29 2014
MAPLE
M:=20;
T[1, 1]:=1:
for n from 2 to M do
T[n, n]:=(n-1)^(n-1);
for k from n-1 by -1 to 1 do
T[n, k]:=T[n, k+1]-(n-1)*T[n-1, k]:
od:
od:
f:=n->(n^n-T[n+1, 1])/n; [seq(f(n), n=1..M-1)];
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 29 2014
STATUS
approved