This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A060402 #25 Jul 02 2025 16:02:01 %S A060402 0,1,267,4,14,1,2,1,2,2,1,2,3,8,3,1,5,4,1,14,10,1,20,38,1,2,7,5,2,1, %T A060402 10,1,6,1,6,1,2,3,2,1,7,1,1,5,12,2,1,1,1,2,1,1,1,34,1,8,1,33,1,4,7,1, %U A060402 2,56,1,3,1,34,9,1,1,7,1,3,1,7,1,4,3,1,2,14,1,10,2,51,1,6,7,17,1,14,1,8,1,1 %N A060402 Continued fraction expansion of tanh(Pi). %D A060402 J. M. Borwein, D. H. Bailey and R. Girgensohn, Experimentation in Mathematics, A K Peters, Ltd., Natick, MA, 2004. x+357 pp. See p. 11. %H A060402 Harry J. Smith, <a href="/A060402/b060402.txt">Table of n, a(n) for n = 0..20000</a> %e A060402 0.996272076220749944264690... = 0 + 1/(1 + 1/(267 + 1/(4 + 1/(14 + ...)))). - _Harry J. Smith_, Jul 04 2009 %p A060402 with(numtheory): c := cfrac (tanh(Pi),300,'quotients'); %t A060402 ContinuedFraction[Tanh[Pi], 100] (* _Paolo Xausa_, Jul 04 2024 *) %o A060402 (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(tanh(Pi)); for (n=0, 20000, write("b060402.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jul 04 2009 %Y A060402 Cf. A083124, A190352. %K A060402 nonn,cofr,easy %O A060402 0,3 %A A060402 _Bill Gosper_, Apr 04 2001 %E A060402 More terms from _James Sellers_, Apr 06 2001