|
Search: id:A081785
|
|
|
| A081785 |
|
Continued cotangent for log(2). |
|
+0 1
|
|
| 0, 1, 5, 55, 14187, 314681540, 254841004490568887, 116515298784769863036311841843812470, 16752745298264669840183664790312981823804061660537952218518280274360024
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
FORMULA
|
log(2)=cot(sum(n>=0, n, (-1)^n*acot(a(n))); let b(0)=log(2), b(n)=(b(n-1)*floor(b(n-1))+1)/(b(n-1)-floor(b(n-1)) then a(n)=floor(b(n))
|
|
PROGRAM
|
(PARI) ?bn=vector(100); b(n)=if(n<0, 0, bn[n]); bn[1]=log(2); ?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. A001620, A002666, A002667.
Sequence in context: A068666 A082780 A063855 this_sequence A129440 A045729 A067515
Adjacent sequences: A081782 A081783 A081784 this_sequence A081786 A081787 A081788
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Benoit Cloitre (benoit7848c(AT)orange.fr), Apr 10 2003
|
|
|
Search completed in 0.002 seconds
|