|
|
A079039
|
|
Fractional part of cosh(n) decreases monotonically to zero.
|
|
0
|
|
|
1, 3, 22, 29, 45, 75, 135, 259, 863, 1786, 2483, 2538, 5731, 16095, 36692, 94720
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
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 *)
|
|
PROG
|
(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)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Terms 1786, 2483, 2538 from Zak Seidov, Jul 28 2010
|
|
STATUS
|
approved
|
|
|
|