OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Jean Bourgain and Nigel Watt, Mean square of zeta function, circle problem and divisor problem revisited, arXiv preprint arXiv:1709.04340 [math.AP], 2017.
Ling Li, On the Hyperbolic Fractional Sum of the Divisor Function, arXiv:2604.20400 [math.NT], 2026.
Ling Li and Meselem Karras, Hyperbolic summation for the divisor function involving the integer part function, arXiv preprint arXiv:2212.05443 [math.NT], 2022.
FORMULA
Li & Karras prove that a(n) = An log n + Bn + O(n^e) for any e > 10/17, where A and B are defined in their paper (see Links). This sharpens a general result of Bourgain & Watt.
PROG
(PARI) a(n)=2*sum(a=1, n, my(N=n\a); sum(b=1, min(a-1, N), numdiv(N\b))) + sum(a=1, sqrtint(n), numdiv(n\a^2))
(PARI) a(n)=sum(i=1, n, numdiv(i)*numdiv(n\i)) \\ David A. Corneth, Dec 16 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Charles R Greathouse IV, Dec 13 2022
STATUS
approved
