The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081793 Continued cotangent for tanh(1). 0
0, 1, 7, 135, 35445, 44465908998, 5112887721516309845621, 75234509360529020708450352828794956245887456, 5786575206590910267083400178061771765781639734324927167565054640197289842752623499343753 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
REFERENCES
D. H. Lehmer, A cotangent analogue of continued fractions, Duke Math. J., 4 (1935), 323-340.
LINKS
FORMULA
tanh(1)=cot(sum(n>=0, n, (-1)^n*acot(a(n))); 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))
PROG
(PARI) ?bn=vector(100); b(n)=if(n<0, 0, bn[n]); bn[1]=tanh(1); ?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
Sequence in context: A143181 A183478 A292395 * A296595 A368630 A210028
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 10 2003
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 13:41 EDT 2024. Contains 372715 sequences. (Running on oeis4.)