OFFSET
1,2
LINKS
FORMULA
Sum_{k=1..n} a(k) = (5*zeta(3)/12) * n^3 + O(n^2*log(n)^2). - Amiram Eldar, Dec 08 2022
EXAMPLE
For n = 4; sigma(4) = 7; a(4) = 1+2+3+4+5+6+7 = 28.
MATHEMATICA
Array[PolygonalNumber@ DivisorSigma[1, #] &, 50] (* Michael De Vlieger, Nov 16 2017 *)
PROG
(PARI) a(n)=binomial(sigma(n)+1, 2) \\ Charles R Greathouse IV, Feb 14 2013
(Python)
from sympy import divisor_sigma
def A184387(n): return (m:=divisor_sigma(n))*(m+1)>>1 # Chai Wah Wu, Jul 05 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Jan 12 2011
STATUS
approved