OFFSET
1,2
COMMENTS
See A196361 for a guide to related sequences.
EXAMPLE
x=1.002750019227300659428346483723194...
min=-1.519557881642848251369426811329...
MATHEMATICA
n = 4; f[t_] := Cos[t]; s[t_] := Sum[f[k*t], {k, 1, n}];
x = N[Minimize[s[t], t], 110]; u = Part[x, 1]
v = 2 Pi - t /. Part[x, 2]
RealDigits[u] (* A198671 *)
RealDigits[v] (* A198672 *)
Plot[s[t], {t, -3 Pi, 3 Pi}]
(* Alternative: *)
Root[-125 + 600x + 1227x^2 + 512x^3, 1] // RealDigits[#, 10, 99]& // First (* Jean-François Alcover, Feb 19 2013 *)
PROG
(PARI) my(t=solve(x=-6, -5, -sin(x)-sin(2*x)*2-sin(3*x)*3-sin(4*x)*4)); cos(t)+cos(2*t)+cos(3*t)+cos(4*t) \\ Charles R Greathouse IV, May 15 2026
CROSSREFS
KEYWORD
AUTHOR
Clark Kimberling, Oct 28 2011
STATUS
approved
