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!)
A246396 Nonnegative integers k satisfying cos(k) <= 0 and cos(k+1) <= 0. 4
2, 3, 8, 9, 15, 16, 21, 22, 27, 28, 33, 34, 35, 40, 41, 46, 47, 52, 53, 59, 60, 65, 66, 71, 72, 77, 78, 79, 84, 85, 90, 91, 96, 97, 103, 104, 109, 110, 115, 116, 121, 122, 123, 128, 129, 134, 135, 140, 141, 147, 148, 153, 154, 159, 160, 165, 166, 167, 172 (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.)
Conjecture: every term t has at least one neighbor which is equal to t plus or minus one. - Harvey P. Dale, Jul 11 2023
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 *)
SequencePosition[Table[If[Cos[k]<=0, 1, 0], {k, 200}], {1, 1}][[;; , 1]] (* Harvey P. Dale, Jul 11 2023 *)
CROSSREFS
Sequence in context: A099148 A309423 A029787 * A054462 A101471 A137471
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 April 18 15:48 EDT 2024. Contains 371780 sequences. (Running on oeis4.)