The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A319194 a(n) = Sum_{k=1..n} sigma(n,k). 17
1, 6, 38, 373, 4461, 68033, 1202753, 24757484, 574608039, 14925278329, 427729375161, 13424413453317, 457608305315211, 16841852554413561, 665483754539870667, 28101844918556128030, 1262901795439193700478, 60182608193322255156347, 3031285556584399354961535 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) ~ n^n / (1 - exp(-1)).
a(n) = Sum_{k=1..n} k^n * floor(n/k). - Daniel Suteu, Nov 10 2018
MAPLE
with(NumberTheory): seq(sum(sigma[n](k), k = 1..n), n = 1..20); # Vaclav Kotesovec, Aug 20 2019
MATHEMATICA
Table[Sum[DivisorSigma[n, k], {k, 1, n}], {n, 1, 20}]
PROG
(PARI) a(n) = sum(k=1, n, sigma(k, n)); \\ Michel Marcus, Sep 13 2018
(PARI) a(n) = sum(k=1, n, k^n * (n\k)); \\ Daniel Suteu, Nov 10 2018
(Python)
from math import isqrt
from sympy import bernoulli
def A319914(n): return (((s:=isqrt(n))+1)*((b:=bernoulli(n+1))-bernoulli(n+1, s+1))+sum(k**n*(n+1)*((q:=n//k)+1)-b+bernoulli(n+1, q+1) for k in range(1, s+1)))//(n+1) # Chai Wah Wu, Oct 21 2023
CROSSREFS
Sequence in context: A062814 A349844 A367838 * A303865 A319647 A239983
KEYWORD
nonn
AUTHOR
Vaclav Kotesovec, Sep 13 2018
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 June 12 12:44 EDT 2024. Contains 373331 sequences. (Running on oeis4.)