OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
V. Sitaramaiah and M. V. Subbarao, Asymptotic formulae for sums of reciprocals of some multiplicative functions, J. Indian Math. Soc., Vol. 57 (1991), pp. 153-167.
László Tóth, Alternating Sums Concerning Multiplicative Arithmetic Functions, Journal of Integer Sequences, Vol. 20 (2017), Article 17.2.1. See section 4.13, p. 34.
FORMULA
EXAMPLE
Fractions begin with 1, 4/3, 19/12, 107/60, 39/20, 61/30, 259/120, 89/40, 93/40, 857/360, 887/360, 181/72, ...
MATHEMATICA
f[p_, e_] := (p^(e+1) - 1)/(p - 1) - If[OddQ[e], 0, p^(e/2)]; bsigma[1] = 1; bsigma[n_] := Times @@ f @@@ FactorInteger[n]; Numerator[Accumulate[Table[1/bsigma[n], {n, 1, 50}]]]
PROG
(PARI) bsigma(n) = {my(f = factor(n)); prod(i = 1, #f~, (f[i, 1]^(f[i, 2]+1) - 1)/(f[i, 1] - 1) - if(!(f[i, 2] % 2), f[i, 1]^(f[i, 2]/2))); }
list(nmax) = {my(s = 0); for(k = 1, nmax, s += 1 / bsigma(k); print1(numerator(s), ", "))};
CROSSREFS
KEYWORD
nonn,easy,frac
AUTHOR
Amiram Eldar, Dec 27 2024
STATUS
approved