STATUS
proposed
approved
proposed
approved
editing
proposed
(Python)
from math import isqrt
def A327329(n): return -(s:=isqrt(n))**2*(s+1)+sum((q:=n//k)*((k<<1)+q+1) for k in range(1, s+1)) # Chai Wah Wu, Oct 22 2023
approved
editing
proposed
approved
editing
proposed
(PARI) a(n) = 2*sum(k=1, n, sigma(k)); \\ Michel Marcus, Dec 20 2021
proposed
editing
editing
proposed
editing
proposed
a(n) is also the total area of the horizontal faces in the stepped pyramid with n levels described in A245092, (that is the total area of the terraces plus the area of the base). - Omar E. Pol, Dec 15 2021
proposed
editing