login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A327140
Numbers k such that cos(2k) > cos(2k+2) > cos(2k+4) < cos(2k+6).
3
3, 6, 9, 22, 25, 28, 31, 44, 47, 50, 53, 66, 69, 72, 75, 88, 91, 94, 97, 110, 113, 116, 119, 132, 135, 138, 141, 154, 157, 160, 163, 179, 182, 185, 188, 201, 204, 207, 210, 223, 226, 229, 232, 245, 248, 251, 254, 267, 270, 273, 276, 289, 292, 295, 298, 311
OFFSET
1,1
COMMENTS
The sequences A327138, A327139, A327140 partition the positive integers.
LINKS
EXAMPLE
(cos 2, cos 4, ...) = (-0.4, -0.6, 0.9, -0.1, -0.8, ...) approximately, so that the differences, in sign, are - + - - + - - + - - + +, with "+" in places 2,5,8,11,12, ... (A327138), "- +" starting in places 1,4,7,10,13,... (A327139), and "- - +" starting in places 3,6,9,22,25,... (A327140).
MATHEMATICA
z = 500; f[x_] := f[x] = Cos[2 x]; t = Range[1, z];
Select[t, f[#] < f[# + 1] &] (* A327138 *)
Select[t, f[#] > f[# + 1] < f[# + 2] &] (* A327139 *)
Select[t, f[#] > f[# + 1] > f[# + 2] < f[# + 3] &] (* A327140 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 23 2019
STATUS
approved