OFFSET
1,2
EXAMPLE
1/1^1’+1/(1^1’+2^2’)+1/(1^1’+2^2’+3^3’)+1/(1^1’+2^2’+3^3’+4^4’)+... = 1+1/3+1/6+1/262+... = 1.50781066762289...
MAPLE
with(numtheory);
P:=proc(i)
local a, b, f, n, p, pfs;
a:=0; b:=0;
for n from 1 by 1 to i do
pfs:=ifactors(n)[2];
f:=n*add(op(2, p)/op(1, p), p=pfs);
b:=b+n^f; a:=a+1/b;
od;
print(evalf(a, 300));
end:
P(1000);
MATHEMATICA
digits = 120; d[0] = d[1] = 0; d[n_] := d[n] = n*Total[Apply[#2/#1 &, FactorInteger[n], {1}]]; p[m_] := p[m] = Sum[1/Sum[j^d[j], {j, 1, k}], {k, 1, m}] // RealDigits[#, 10, digits]& // First; p[digits]; p[m = 2*digits]; While[p[m] != p[m/2], m = 2*m]; p[m] (* Jean-François Alcover, Feb 21 2014 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Paolo P. Lava, May 05 2011
STATUS
approved