login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A081786
Continued cotangent for log(3).
0
1, 21, 1591, 5623795, 60586207387643, 11771746654268128293298294264, 223879928814222731378358322195036233470100990978181612407, 60370531495558553873551440308434816125184142701829318337696802178075590153432959525193229753905998692773283506988
OFFSET
0,2
FORMULA
log(3)=cot(sum(n>=0, n, (-1)^n*acot(a(n))); let b(0)=log(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]=log(3); ?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: A220561 A239267 A258305 * A295414 A202800 A203361
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 10 2003
STATUS
approved