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.

A079039 Fractional part of cosh(n) decreases monotonically to zero.

Original entry on oeis.org

1, 3, 22, 29, 45, 75, 135, 259, 863, 1786, 2483, 2538, 5731, 16095, 36692, 94720
Offset: 0

Views

Author

Benoit Cloitre, Feb 01 2003

Keywords

Crossrefs

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

Programs

  • Mathematica
    $MaxExtraPrecision = 2^16; k = 1; lst = {}; mn = Infinity; While[k < 100001, a = FractionalPart@ Cosh@k; If[a < mn, mn = a; AppendTo[lst, k]; Print@k]; k++ ]; lst (* Robert G. Wilson v, Jul 30 2010 *)
  • PARI
    x=1; y=1; a(n)=if(n<0,0,b=y+1; while(frac(cosh(b))>frac(cosh(x)),b++); x=b; y=b; b)

Extensions

Terms 1786, 2483, 2538 from Zak Seidov, Jul 28 2010
a(9) - a(15) from Robert G. Wilson v, Jul 30 2010