OFFSET
1,1
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 1.8.1 Alternative representations [of real numbers], p. 63.
LINKS
Herman P. Robinson, Mathematical Constants.
EXAMPLE
2.224751480980583015375598924924190424236366707982466701694563315747...
MATHEMATICA
K = Khinchin; a[0] = pi[0] = 2; pi[n_] := Product[a[i], {i, 0, n}]; Clear[a]; a[n_?EvenQ] := a[n] = Floor[K^(n+1)/pi[n-1]]; a[n_?OddQ] := a[n] = Ceiling[K^(n+1)/pi[n-1]]; FromContinuedFraction[Array[a, 300, 0]] // RealDigits[#, 10, 105]& // First
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Jean-François Alcover, Jul 15 2014
STATUS
approved