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.

A197827 Decimal expansion of least x > 0 having sin(2*x) = 2*Pi*sin(4*Pi*x).

This page as a plain text file.
%I A197827 #14 Aug 15 2021 15:49:26
%S A197827 2,4,4,0,5,5,0,5,5,1,2,1,2,4,6,6,8,6,8,5,3,5,6,4,2,9,7,8,4,8,4,9,5,3,
%T A197827 5,6,5,6,6,3,6,9,3,6,1,6,5,8,4,1,3,6,0,5,9,4,5,7,7,6,9,0,2,8,3,2,8,3,
%U A197827 5,3,4,7,3,8,2,2,4,7,1,9,2,5,0,9,7,7,9,7,3,9,6,8,9,3,1,4,0,6,6
%N A197827 Decimal expansion of least x > 0 having sin(2*x) = 2*Pi*sin(4*Pi*x).
%C A197827 For a discussion and guide to related sequences, see A197739.
%e A197827 0.24405505512124668685356429784849535656...
%t A197827 b = 1; c = 2 Pi;
%t A197827 f[x_] := Cos[b*x]^2; g[x_] := Sin[c*x]^2; s[x_] := f[x] + g[x];
%t A197827 r = x /. FindRoot[b*Sin[2 b*x] == c*Sin[2 c*x], {x, .24, .25}, WorkingPrecision -> 110]
%t A197827 RealDigits[r]  (* A197827 *)
%t A197827 m = s[r]
%t A197827 RealDigits[m]  (* A197828 *)
%t A197827 Plot[{b*Sin[2 b*x], c*Sin[2 c*x]}, {x, 0, Pi}]
%t A197827 d = m/2; t = x /. FindRoot[s[x] == d, {x, .4, .42}, WorkingPrecision -> 110]
%t A197827 RealDigits[t] (* A197829 *)
%t A197827 Plot[{s[x], d}, {x, 0, .7}, AxesOrigin -> {0, 0}]
%t A197827 d = m/3; t = x /. FindRoot[s[x] == d, {x, .91, .92}, WorkingPrecision -> 110]
%t A197827 RealDigits[t] (* A197830 *)
%t A197827 Plot[{s[x], d}, {x, 0, Pi/2}, AxesOrigin -> {0, 0}]
%t A197827 d = 1; t = x /. FindRoot[s[x] == d, {x, .4, .5}, WorkingPrecision -> 110]
%t A197827 RealDigits[t] (* A197700 *)
%t A197827 Plot[{s[x], d}, {x, 0, Pi}, AxesOrigin -> {0, 0}]
%t A197827 d = 1/2; t = x /. FindRoot[s[x] == d, {x, .93, .94}, WorkingPrecision -> 110]
%t A197827 RealDigits[t] (* A197832 *)
%t A197827 Plot[{s[x], d}, {x, 0, 1}, AxesOrigin -> {0, 0}]
%Y A197827 Cf. A197739.
%K A197827 nonn,cons
%O A197827 0,1
%A A197827 _Clark Kimberling_, Oct 19 2011
%E A197827 Definition corrected by _Georg Fischer_, Aug 10 2021