OFFSET
1,6
COMMENTS
First differs from A126168 at n = 16.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A188999(n) - n.
EXAMPLE
a(6) = 6 since A188999(6) - 6 = 12 - 6 = 6.
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_] := bsigma[n] = Times @@ (fun @@@ FactorInteger[n]); bs[n_] := bsigma[n] - n; Array[bs, 100]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Feb 03 2020
STATUS
approved