A154392 Number of zeros of sin(x^2) in integer intervals starting with (0,1).
0, 1, 1, 3, 2, 4, 4, 5, 5, 6, 7, 7, 8, 9, 9, 10, 10, 12, 11, 13, 13, 14, 14, 15, 15, 17, 17, 17, 18, 19, 19, 20, 21, 21, 22, 23, 23, 24, 25, 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 31, 32, 33, 34, 34, 34, 36, 36, 36, 38, 37, 39, 39, 40, 40, 41, 42, 42, 43, 44
Offset: 1
Keywords
Examples
For n = 1, there are no zeros of sin(x^2) in (0,1), so a(1) = 0. For n = 2, there is one zero of sin(x^2) in (1,2) at x = sqrt(pi), or x ~ 1.772, so a(2) = 1.
Crossrefs
Cf. A032616.
Programs
-
Mathematica
Join[{0},Table[CountRoots[Sin[x^2],{x,k,k+1}],{k,20}]] (* Harvey P. Dale, Dec 24 2018 *)
Extensions
More terms from Alois P. Heinz, Feb 20 2023
Comments