The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A246394 Nonnegative integers k satisfying cos(k) <= 0 and cos(k+1) >= 0. 4
4, 10, 17, 23, 29, 36, 42, 48, 54, 61, 67, 73, 80, 86, 92, 98, 105, 111, 117, 124, 130, 136, 142, 149, 155, 161, 168, 174, 180, 186, 193, 199, 205, 212, 218, 224, 230, 237, 243, 249, 256, 262, 268, 274, 281, 287, 293, 300, 306, 312, 318, 325, 331, 337, 344 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
A246393 and A246394 partition A062389 (the nonhomogeneous Beatty sequence {floor(-1/2)*Pi)}. Likewise, A246046, the complement of A062389, is partitioned by A246395 and A246396. (See the Mathematica program.)
LINKS
MATHEMATICA
z = 400; f[x_] := Cos[x]
Select[Range[0, z], f[#]*f[# + 1] <= 0 &] (* A062389 *)
Select[Range[0, z], f[#] >= 0 && f[# + 1] <= 0 &] (* A246393 *)
Select[Range[0, z], f[#] <= 0 && f[# + 1] >= 0 &] (* A246394 *)
Select[Range[0, z], f[#]*f[# + 1] > 0 &] (* A246046 *)
Select[Range[0, z], f[#] >= 0 && f[# + 1] >= 0 &] (* A246395 *)
Select[Range[0, z], f[#] <= 0 && f[# + 1] <= 0 &] (* A246396 *)
CROSSREFS
Sequence in context: A310539 A310540 A310541 * A310542 A366102 A183905
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 24 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 12 22:58 EDT 2024. Contains 373360 sequences. (Running on oeis4.)