OFFSET
2,7
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 2..30000
EXAMPLE
a(8) = 2 since 8 is the sum of the proper infinitary divisors of 2 numbers: 10 (1 + 2 + 5) and 12 (1 + 3 + 4).
MATHEMATICA
fun[p_, e_] := Module[{b = IntegerDigits[e, 2], m}, m = Length[b]; Product[If[b[[j]] > 0, 1 + p^(2^(m - j)), 1], {j, 1, m}]]; isigma[1] = 1; isigma[n_] := Times @@ (fun @@@ FactorInteger[n]); is[n_] := isigma[n] - n; m = 300; v = Table[0, {m}]; Do[i = is[k]; If[2 <= i <= m, v[[i]]++], {k, 1, m^2}]; Rest@v
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Feb 03 2020
STATUS
approved