OFFSET
1,3
FORMULA
MATHEMATICA
Table[Sum[(k-1)^n Floor[n/k], {k, n}], {n, 20}] (* Harvey P. Dale, Dec 14 2024 *)
PROG
(PARI) a(n) = sum(k=1, n, (k-1)^n*(n\k));
(PARI) a(n) = sum(k=1, n, sigma(k, n)-(n\k)^n);
(PARI) a(n) = sum(k=1, n, sumdiv(k, d, (d-1)^n));
(Python)
def A356100(n): return sum((k-1)**n*(n//k) for k in range(2, n+1)) # Chai Wah Wu, Jul 26 2022
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Seiichi Manyama, Jul 26 2022
STATUS
approved