OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..386
FORMULA
G.f.: (1/(1 - x)) * Sum_{j>=1} Sum_{k>=1} (k*x^j)^k * (1 - x^j).
a(n) ~ n^n. - Vaclav Kotesovec, Jun 11 2021
MATHEMATICA
a[n_] := Sum[Floor[n/k]^Floor[n/k], {k, 1, n}]; Array[a, 20] (* Amiram Eldar, Jun 08 2021 *)
PROG
(PARI) a(n) = sum(k=1, n, (n\k)^(n\k));
(PARI) my(N=20, x='x+O('x^N)); Vec(sum(j=1, N, (1-x^j)*sum(k=1, N, (k*x^j)^k))/(1-x))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 07 2021
STATUS
approved