cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A081793 Continued cotangent for tanh(1).

This page as a plain text file.
%I A081793 #13 Apr 24 2025 06:13:24
%S A081793 0,1,7,135,35445,44465908998,5112887721516309845621,
%T A081793 75234509360529020708450352828794956245887456,
%U A081793 5786575206590910267083400178061771765781639734324927167565054640197289842752623499343753
%N A081793 Continued cotangent for tanh(1).
%D A081793 D. H. Lehmer, A cotangent analogue of continued fractions, Duke Math. J., 4 (1935), 323-340.
%F A081793 tanh(1) = cot(Sum_{n>=0} (-1)^n*acot(a(n))).
%F A081793 Let b(0) = tanh(1), b(n) = (b(n-1)*floor(b(n-1))+1)/(b(n-1)-floor(b(n-1))) then a(n) = floor(b(n)).
%o A081793 (PARI) \p900
%o A081793 bn=vector(100);
%o A081793 bn[1]=tanh(1);
%o A081793 b(n)=if(n<0,0,bn[n]);
%o A081793 for(n=2,10,bn[n]=(b(n-1)*floor(b(n-1))+1)/(b(n-1)-floor(b(n-1))));
%o A081793 a(n)=floor(b(n+1));
%Y A081793 Cf. A002666, A002667, A002668.
%K A081793 nonn
%O A081793 0,3
%A A081793 _Benoit Cloitre_, Apr 10 2003