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 bi-unitary divisors of 2 numbers: 10 (1 + 2 + 5) and 12 (1 + 3 + 4).
MATHEMATICA
fun[p_, e_] := If[OddQ[e], (p^(e + 1) - 1)/(p - 1), (p^(e + 1) - 1)/(p - 1) - p^(e/2)]; bsigma[1] = 1; bsigma[n_] := Times @@ (fun @@@ FactorInteger[n]); bs[n_] := bsigma[n] - n; m = 300; v = Table[0, {m}]; Do[b = bs[k]; If[2 <= b <= m, v[[b]]++], {k, 1, m^2}]; Rest @ v
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Feb 03 2020
STATUS
approved