OFFSET
0,3
REFERENCES
Steven R. Finch, Mathematical Constants, Cambridge, 2003, pp. 433-434.
D. H. Lehmer, A cotangent analogue of continued fractions, Duke Math. J., 4 (1935), 323-340.
LINKS
Steven R. Finch, Lehmer's Constant [broken link]
Steven R. Finch, Lehmer's Constant [From the Wayback machine]
FORMULA
sqrt(3)/2 = cot(Sum_{n>=0} (-1)^n*acot(a(n))).
Let b(0) = sqrt(3)/2, b(n) = (b(n-1)*floor(b(n-1))+1)/(b(n-1)-floor(b(n-1))) then a(n) = floor(b(n)).
PROG
(PARI) \p900
bn=vector(100);
bn[1]=sqrt(3)/2;
b(n)=if(n<0, 0, bn[n]);
for(n=2, 10, bn[n]=(b(n-1)*floor(b(n-1))+1)/(b(n-1)-floor(b(n-1))));
a(n)=floor(b(n+1));
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 10 2003
STATUS
approved
