cp's OEIS Frontend

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.

A079040 Fractional part of 1/(1-tanh(n)) decreases monotonically to zero.

Original entry on oeis.org

1, 9, 23, 51, 79, 253, 270, 320, 366, 2460, 3844, 14207, 46819, 68493
Offset: 0

Views

Author

Benoit Cloitre, Feb 01 2003

Keywords

Crossrefs

Cf. A046947 (for abs(sin(n))).

Programs

  • 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 *)
  • PARI
    lista(nn) = {my(b=8, r=1); print1(1); for(n=1, nn, until(frac(1/(1-tanh(b)))Jinyuan Wang, Apr 04 2020

Extensions

a(8)-a(10) from Jinyuan Wang, Apr 03 2020
a(11)-a(13) from Vaclav Kotesovec, Apr 05 2020