OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
Stephan Wagner, Volker Ziegler, Irrationality of growth constants associated with polynomial recursions, arXiv:2004.09353 [math.NT], 2020.
FORMULA
Equals sqrt(A077496). - Vaclav Kotesovec, Dec 17 2014
EXAMPLE
1.2259024435287485386279474959130085213212293209696612823177009072552339975...
MATHEMATICA
S[n_]:= S[n]= If[n==1, Log[2]/2, S[n-1] + Log[1 + 1/A003095[n]^2]/2^n];
RealDigits[Exp[S[13]/2], 10, 120][[1]] (* G. C. Greubel, Nov 29 2022 *)
PROG
(Magma)
function A003095(n)
if n eq 0 then return 0;
else return 1 + A003095(n-1)^2;
end if; return A003095;
end function;
function S(n)
if n eq 1 then return Log(2)/2;
else return S(n-1) + Log(1 + 1/A003095(n)^2)/2^n;
end if; return S;
end function;
SetDefaultRealField(RealField(120)); Exp(S(12)/2); // G. C. Greubel, Nov 29 2022
(SageMath)
@CachedFunction
@CachedFunction
def S(n): return log(2)/2 if (n==1) else S(n-1) + log(1 + 1/(A003095(n))^2)/2^n
numerical_approx( exp(S(12)/2), digits=120) # G. C. Greubel, Nov 29 2022
CROSSREFS
KEYWORD
cons,nonn
AUTHOR
Benoit Cloitre, Nov 27 2002
STATUS
approved