OFFSET
0,1
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 5.11 Feller Coin Tossing Constants, p. 339.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..10000
Eric Weisstein's World of Mathematics, Run.
FORMULA
Expected length ~ log(n)/log(2) - (3/2-gamma/log(2)).
EXAMPLE
0.66725382272313284935358248...
MATHEMATICA
RealDigits[3/2 - EulerGamma/Log[2], 10, 102] // First
PROG
(PARI) default(realprecision, 100); 3/2 - Euler/log(2) \\ G. C. Greubel, Oct 13 2018
(Magma) SetDefaultRealField(RealField(100)); R:=RealField(); 3/2 - EulerGamma(R)/Log(2); // G. C. Greubel, Oct 13 2018
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Jean-François Alcover, Jun 25 2014
STATUS
approved