OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..382 (terms 1..128 from Arkadiusz Wesolowski)
Eric Weisstein's World of Mathematics, Riemann Hypothesis.
EXAMPLE
6 is the second colossally abundant number. Divisors of 6 are 1, 2, 3, 6, so a(2) = 1 + 2 + 3 + 6 = 12.
MATHEMATICA
lst1 = {2}; lst2 = {}; maxN = 23; p = 1; pFactor[f_List] := Module[{p = f[[1]], k = f[[2]]}, N[Log[(p^(k + 2) - 1)/(p^(k + 1) - 1)]/Log[p]] - 1]; f = {{2, 1}, {3, 0}}; primes = 1; x = Table[pFactor[f[[i]]], {i, primes + 1}]; For[n = 2, n <= maxN, n++, i = Position[x, Max[x]][[1, 1]]; AppendTo[lst1, f[[i, 1]]]; f[[i, 2]]++; If[i > primes, primes++; AppendTo[f, {Prime[i + 1], 0}]; AppendTo[x, pFactor[f[[-1]]]]]; x[[i]] = pFactor[f[[i]]]]; Do[p = p*lst1[[n]]; AppendTo[lst2, DivisorSigma[1, p]], {n, maxN}]; lst2 (* Most of the code is from T. D. Noe *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Arkadiusz Wesolowski, Aug 18 2012
STATUS
approved