OFFSET
0,2
COMMENTS
Conjecture: d(n) -> 1.356...
EXAMPLE
Records for n - 0,1,2, read from the first 6 values of d(n) approximated by
0.381, -0.088, -1.34, -0.56, 0.73, 1.35; viz.,
d(0) = cos(1) + sin(1) - cos(0) - sin(0) = 0.38177...
d(4) = cos(5) + sin(5) - cos(4) - sin(4) = 0.73518...
d(5) = 1.356016878...
d(52168) = 1.356016794...
MATHEMATICA
z = 100000; d[n_] := N[Cos[n + 1] + Sin[n + 1] - Cos[n] - Sin[n], 10];
max = d[0]; k = 0; s = {0};
While[k < z, a = d[k]; If[a > max, max = a; AppendTo[s, k]]; k++]; s
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 08 2018
STATUS
approved