OFFSET
0,3
REFERENCES
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.
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..20000
EXAMPLE
0.996272076220749944264690... = 0 + 1/(1 + 1/(267 + 1/(4 + 1/(14 + ...)))). - Harry J. Smith, Jul 04 2009
MAPLE
with(numtheory): c := cfrac (tanh(Pi), 300, 'quotients');
MATHEMATICA
ContinuedFraction[Tanh[Pi], 100] (* Paolo Xausa, Jul 04 2024 *)
PROG
(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
CROSSREFS
KEYWORD
nonn,cofr,easy
AUTHOR
Bill Gosper, Apr 04 2001
EXTENSIONS
More terms from James A. Sellers, Apr 06 2001
STATUS
approved