OFFSET
0,2
MATHEMATICA
$MaxExtraPrecision = Infinity; t = 1; Do[s = FractionalPart[1/(1 - Tanh[n])]; If[s < t, Print[n]; t = s; ], {n, 1, 5000}]; (* Vaclav Kotesovec, Apr 05 2020 *)
PROG
(PARI) lista(nn) = {my(b=8, r=1); print1(1); for(n=1, nn, until(frac(1/(1-tanh(b)))<r, b++; default(realprecision, 2*b)); print1(", ", b); r=frac(1/(1-tanh(b)))); } \\ Modified by Jinyuan Wang, Apr 04 2020
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Benoit Cloitre, Feb 01 2003
EXTENSIONS
a(8)-a(10) from Jinyuan Wang, Apr 03 2020
a(11)-a(13) from Vaclav Kotesovec, Apr 05 2020
STATUS
approved