login
A079040
Fractional part of 1/(1-tanh(n)) decreases monotonically to zero.
0
1, 9, 23, 51, 79, 253, 270, 320, 366, 2460, 3844, 14207, 46819, 68493
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
Cf. A046947 (for abs(sin(n))).
Sequence in context: A183453 A296311 A159221 * A183338 A212676 A211478
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