OFFSET
0,2
COMMENTS
Partial sums of A330574.
REFERENCES
Steven R. Finch, Mathematical Constants II, Encyclopedia of Mathematics and Its Applications, Cambridge University Press, Cambridge, 2018, p. 163.
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10000
Karl-Heinz Indlekofer, Eine asymptotische Formel in der Zahlentheorie, (German) Arch. Math. (Basel) 23 (1972), 619-624. MR0318080 (47 #6629).
FORMULA
a(n) ~ c * n * log(n)^2, where c is a constant. - Amiram Eldar, Mar 05 2020
MATHEMATICA
Accumulate @ Table[SquaresR[2, n]^2 * DivisorSigma[0, n+1], {n, 0, 50}] (* Amiram Eldar, Mar 05 2020 *)
PROG
(Python)
from math import prod
from sympy import factorint
def A331071(n): return 1+sum(prod(1 if p==2 else (e+1 if p&3==1 else (e+1)&1) for p, e in factorint(i).items())**2*prod(e+1 for e in factorint(i+1).values())<<4 for i in range(1, n+1)) # Chai Wah Wu, May 29 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 10 2020
STATUS
approved
