OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..386
FORMULA
a(n) ~ n^n. - Vaclav Kotesovec, Sep 14 2021
EXAMPLE
a(3) = [(3/1)^3] + [(3/2)^3] + [(3/3)^3] = 27 + 3 + 1 = 31.
MATHEMATICA
a[n_] := Sum[Floor[(n/k)^n], {k, 1, n}]; Array[a, 20] (* Amiram Eldar, Aug 31 2021 *)
PROG
(PARI) a(n) = sum(k=1, n, n^n\k^n);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 31 2021
STATUS
approved