OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
The values of bsigma(k)/k are: 3, 2.5, 2.4, 2.25, 2.222..., 2.142...
MATHEMATICA
f[n_] := Select[Divisors[n], Function[d, CoprimeQ[d, n/d]]]; bsigma[m_] := DivisorSum[m, # &, Last@Intersection[f@#, f[m/#]] == 1 &]; r = 3; seq={}; Do[
s = bsigma[n]/n; If[s > 2 && s < r, AppendTo[seq, n]; r = s], {n, 1, 10000}]; seq
PROG
(PARI) babindex(n) = {my(f = factor(n), p, e); prod(k = 1, #f~, p = f[k, 1]; e = f[k, 2]; (p^(e+1)-1)/(p^(e+1)-p^e) - if(e%2, 0, 1/p^(e/2))); }
lista(kmax) = {my(bab, babm = 3); for(k = 1, kmax, bab = babindex(k); if(bab > 2 && bab < babm, babm = bab; print1(k, ", "))); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Apr 10 2018
STATUS
approved