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).

Original entry on oeis.org

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, 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, 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
Offset: 0

Views

Author

Clark Kimberling, Oct 28 2011

Keywords

Comments

See A196361 for a guide to related sequences.

Examples

			x=0.8192724134245426759067178580741783999...
min=-1.728768207393169918251228314555655767777...
		

Crossrefs

Programs

  • Mathematica
    n = 5; 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] (* A198673 *)
    RealDigits[v] (* A198674 *)
    Plot[s[t], {t, -3 Pi, 3 Pi}, PlotRange -> {-2, 6}]