OFFSET
1,1
COMMENTS
Continued fraction (2,7,1,4,1,1,1,6,4,1,11,1,2...).
EXAMPLE
1/1^sigma*(1)+ 1/2^sigma*(2) + 1/3^sigma*(3) + 1/4^sigma*(4) + 1/5^sigma*(5) + 1/6^sigma*(6) + ... = 1/1^0 + 1/2^0 + 1/3^2 + 1/4^3 + 1/5^5 + 1/6^4 + ... = 2.12782780242507..
MAPLE
with(numtheory): P:=proc(i) local a, j, k, n, s; d:=2; for n from 3 to i do k:=0; j:=n;
while j mod 2 <> 1 do k:=k+1; j:=j/2; od; a:=sigma(2*n+1)+sigma(2*n-1)+sigma(n/2^k)*2^(k+1)-6*n-2;
d:=d+1/n^a; od; print(evalf(d, 300)); end: P(100);
MATHEMATICA
f[n_] := Total@ Cases[Range[2, n - 1], _?(Abs[Mod[n, #] - #/2] < 1 &)]; First@ RealDigits@ N[Sum[1/k^f@ k, {k, 120}], 86] (* Michael De Vlieger, Oct 08 2015 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Paolo P. Lava, Jun 27 2011
EXTENSIONS
Corrected and edited by R. J. Mathar, Jun 27 2011
STATUS
approved