OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
Sum_{k=1..n} a(k) ~ (Pi^2/12)*(1 + 1/zeta(3)) * n^2. - Amiram Eldar, Apr 01 2024
MATHEMATICA
f1[p_, e_] := (p^(e + 1) - 1)/(p - 1); f2[p_, e_] := p^e + 1; a[n_] := Times @@ f1 @@@ (fct = FactorInteger[n]) + Times @@ f2 @@@ fct; a[1] = 2; Array[a, 100] (* Amiram Eldar, Apr 01 2024 *)
PROG
(PARI) usigma(n)= { local(f, s=1); f=factor(n); for(i=1, matsize(f)[1], s*=1 + f[i, 1]^f[i, 2]); return(s) }
{ for (n=1, 1000, write("b064212.txt", n, " ", sigma(n) + usigma(n)) ) } \\ Harry J. Smith, Sep 10 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Oct 31 2001
STATUS
approved