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.

A198673 Decimal expansion of the absolute minimum of cos(x)+cos(2x)+cos(3x)+cos(4x)+cos(5x).

This page as a plain text file.
%I A198673 #5 Mar 30 2012 18:57:55
%S A198673 1,7,2,8,7,6,8,2,0,7,3,9,3,1,6,9,9,1,8,2,5,1,2,2,8,3,1,4,5,5,5,6,5,5,
%T A198673 7,6,7,7,7,7,2,0,0,7,9,6,1,1,8,7,1,3,9,5,4,6,1,4,5,5,5,6,2,0,7,5,3,6,
%U A198673 0,5,7,1,4,7,2,3,3,0,0,3,0,0,4,3,4,5,0,6,6,1,5,2,8,9,2,5,4,6,2
%N A198673 Decimal expansion of the absolute minimum of cos(x)+cos(2x)+cos(3x)+cos(4x)+cos(5x).
%C A198673 See A196361 for a guide to related sequences.
%e A198673 x=0.8192724134245426759067178580741783999...
%e A198673 min=-1.728768207393169918251228314555655767777...
%t A198673 n = 5; f[t_] := Cos[t]; s[t_] := Sum[f[k*t], {k, 1, n}];
%t A198673 x = N[Minimize[s[t], t], 110]; u = Part[x, 1]
%t A198673 v = 2 Pi - t /. Part[x, 2]
%t A198673 RealDigits[u] (* A198673 *)
%t A198673 RealDigits[v] (* A198674 *)
%t A198673 Plot[s[t], {t, -3 Pi, 3 Pi}, PlotRange -> {-2, 6}]
%Y A198673 Cf. A196361, A198674.
%K A198673 nonn,cons
%O A198673 0,2
%A A198673 _Clark Kimberling_, Oct 28 2011