Search: id:A002666 Results 1-1 of 1 results found. %I A002666 M3983 N1652 %S A002666 1,5,36,3406,14694817,727050997716715,2074744506784679417243551677046, %T A002666 46045625970633183674340934067371917846908361831894602280765110 %N A002666 Continued cotangent for square root of 2. %D A002666 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). %D A002666 N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence). %D A002666 D. H. Lehmer, A cotangent analogue of continued fractions, Duke Math. J., 4 (1935), 323-340. %H A002666 Harry J. Smith, Table of n, a(n) for n=0,...,11 %H A002666 Eric Weisstein's World of Mathematics, Lehmer Cotangent Expansion %o A002666 (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] %Y A002666 Sequence in context: A132686 A118018 A156355 this_sequence A119483 A157809 A079339 %Y A002666 Adjacent sequences: A002663 A002664 A002665 this_sequence A002667 A002668 A002669 %K A002666 nonn %O A002666 0,2 %A A002666 N. J. A. Sloane (njas(AT)research.att.com). %E A002666 More terms from J. O. Shallit. Search completed in 0.001 seconds