|
| |
|
|
A002666
|
|
Continued cotangent for square root of 2.
(Formerly M3983 N1652)
|
|
19
| | |
|
|
|
OFFSET
| 0,2
|
|
|
REFERENCES
| D. H. Lehmer, A cotangent analogue of continued fractions, Duke Math. J., 4 (1935), 323-340.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
|
LINKS
| Harry J. Smith, Table of n, a(n) for n=0,...,11
Eric Weisstein's World of Mathematics, Lehmer Cotangent Expansion
|
|
|
PROG
| (PARI) { default(realprecision, 10000); bn=vector(12); bn[1]=sqrt(2); for(n=2, 12, bn[n]=(bn[n-1]*floor(bn[n-1]) + 1)/(bn[n-1] - floor(bn[n-1]))); for (n=1, 12, write("b002666.txt", n-1, " ", floor(bn[n]))); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), May 04 2009]
|
|
|
CROSSREFS
| Sequence in context: A132686 A118018 A156355 * A174507 A119483 A157809
Adjacent sequences: A002663 A002664 A002665 * A002667 A002668 A002669
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com).
|
|
|
EXTENSIONS
| More terms from J. O. Shallit.
|
| |
|
|