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.
%I A198732 #5 Mar 30 2012 18:57:55 %S A198732 5,8,5,9,0,2,3,1,0,1,6,8,1,5,4,2,7,6,4,1,0,2,2,6,4,9,9,7,0,3,2,3,2,9, %T A198732 9,9,0,4,5,6,8,6,9,0,9,6,1,3,1,5,0,2,8,0,2,8,8,5,4,4,6,8,1,5,1,8,0,7, %U A198732 4,3,3,6,9,5,3,5,2,6,2,8,3,5,0,7,1,3,6,9,1,5,0,6,6,2,2,6,6,7,8 %N A198732 Decimal expansion of the least x>0 that gives the absolute minimum of sin(x)+sin(2x)+sin(3x)+sin(4x)+sin(5x). %C A198732 See A198677 for a guide to related sequences. %e A198732 x=5.8590231016815427641022649970323299904568... %e A198732 min=-3.9621733635032856002319779111064909898... %t A198732 n = 5; f[t_] = Sin[t]; s[t_] := Sum[f[k*t], {k, 1, n}]; %t A198732 x = N[Minimize[s[t], t], 110]; u = Part[x, 1] %t A198732 v = t /. Part[x, 2] %t A198732 RealDigits[u] (* A198731 *) %t A198732 RealDigits[v] (* A198732 *) %t A198732 Plot[s[t], {t, -3 Pi, 3 Pi}] %Y A198732 Cf. A198677. %K A198732 nonn,cons %O A198732 1,1 %A A198732 _Clark Kimberling_, Oct 29 2011