%I A081782
%S A081782 0,1,3,16,389,479403,590817544217,473341703003810973963339,
%T A081782 269963674630454468003021997747122421847127276823,
%U A081782 84255020180725066155718508782582560544360994462142096519461567461295107080386955008872752275165
%N A081782 Continued cotangent for the Gamma constant.
%H A081782 Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/
LehmerCotangentExpansion.html">Lehmer Cotangent Expansion</a>
%F A081782 Gamma=cot(sum(n>=0, n, (-1)^n*acot(a(n))); let b(0)=Gamma, b(n)=(b(n-1)*floor(b(n-1))+1)/
(b(n-1)-floor(b(n-1)) then a(n)=floor(b(n))
%o A081782 (PARI) ?bn=vector(100); b(n)=if(n<0,0,bn[n]); bn[1]=Euler; ?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))
%Y A081782 Cf. A001620, A002666, A002667.
%Y A081782 Sequence in context: A053466 A005031 A054939 this_sequence A081780 A002794
A132559
%Y A081782 Adjacent sequences: A081779 A081780 A081781 this_sequence A081783 A081784
A081785
%K A081782 nonn
%O A081782 0,3
%A A081782 Benoit Cloitre (benoit7848c(AT)orange.fr), Apr 10 2003
|