A381781 a(n) = k where k*Pi is the solution to sin(x) = 0 obtained using Newton's method starting from x = n.
0, 0, 1, 1, 1, 3, 2, 2, 5, 3, 3, 74, 4, 4, 2, 5, 5, 4, 6, 6, 6, 7, 7, 7, 8, 8, 8, 10, 9, 9, 13, 10, 10, 30, 11, 11, 9, 12, 12, 11, 13, 13, 13, 14, 14, 14, 15, 15, 15, 25, 16, 16, 14, 17, 17, 32, 18, 18, 16, 19, 19, 18, 20, 20, 17, 21, 21, 21, 22, 22, 22, 25, 23, 23, 26
Offset: 0
Examples
a(11) = 74: applying Newton's method to f(x) = sin(x) with initial guess x_0 = 11 gives x_1 = 236.9508, x_2 = 232.8538, etc., eventually converging to x = 232.477856365644 with a(11) = x/Pi = 74.
Links
- Simcha Z. Katzoff, Table of n, a(n) for n = 0..1000
Programs
-
Mathematica
delta = 1.1655611852072113068339179779585606691; a[n_]:=(x=n;While[Abs[x-Round[x,Pi]]>delta,x=x-Tan[x]];Round[x,Pi]/Pi); Array[a,100]
Formula
a(n) = (1/Pi)*lim_{k->oo} f_k(n), where f_k(n) denotes the k-th iteration of the function f(x) = x - tan(x).
Comments