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!)
A081781 Continued cotangent for square root of 5. 0
2, 23, 2961, 9798690, 110528843365255, 16850689692769666225948933906, 357017084742873887104901208145335336566095925224005385073, 137046393407742688281781643318644289249627231296779665713406441509975367310318242383523303176564909084594247359836 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
sqrt(5)=cot(sum(n>=0, n, (-1)^n*acot(a(n))); let b(0)=sqrt(3), 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(5); ?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: A227529 A091763 A124513 * A088734 A087388 A117507
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 April 23 14:32 EDT 2024. Contains 371914 sequences. (Running on oeis4.)