login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A081787 Continued cotangent for sqrt(e). 0
1, 4, 208, 51198, 3265038057, 25300257957809599598, 1548008157389016603196793951803038609594, 15445738611564165990406534887324277271178568836676520360367688416251534382546319 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

REFERENCES

D. H. Lehmer, A cotangent analogue of continued fractions, Duke Math. J., 4 (1935), 323-340.

LINKS

Table of n, a(n) for n=0..7.

FORMULA

sqrt(e)=cot(sum(n>=0, n, (-1)^n*acot(a(n))); let b(0)=sqrt(e), 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]=sqrt(e); ?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

Cf. A002666, A002667, A002668.

Sequence in context: A222282 A087924 A201978 * A293159 A340176 A038790

Adjacent sequences:  A081784 A081785 A081786 * A081788 A081789 A081790

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 2 05:01 EST 2021. Contains 349437 sequences. (Running on oeis4.)