login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A356100 a(n) = Sum_{k=1..n} (k - 1)^n * floor(n/k). 2
0, 1, 9, 99, 1301, 20581, 376891, 7914216, 186905206, 4915451602, 142368695176, 4506118905870, 154720069309364, 5729167232515112, 227585086051159866, 9654819212943764500, 435659280972794395356, 20836049921760968809231, 1052864549462731148832219 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A319194(n) - A332469(n).
a(n) = Sum_{k=1..n} Sum_{d|k} (d - 1)^n.
a(n) = [x^n] (1/(1-x)) * Sum_{k>=1} (k - 1)^n * x^k/(1 - x^k).
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
Sequence in context: A294120 A015685 A051581 * A080291 A215243 A113395
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jul 26 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 14 01:41 EDT 2024. Contains 375910 sequences. (Running on oeis4.)