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!)
A327139 Numbers k such that cos(2k) > cos(2k+2) < cos(2k+4). 3
1, 4, 7, 10, 13, 16, 19, 23, 26, 29, 32, 35, 38, 41, 45, 48, 51, 54, 57, 60, 63, 67, 70, 73, 76, 79, 82, 85, 89, 92, 95, 98, 101, 104, 107, 111, 114, 117, 120, 123, 126, 129, 133, 136, 139, 142, 145, 148, 151, 155, 158, 161, 164, 167, 170, 173, 176, 180, 183 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The sequences A327138, A327139, A327140 partition the positive integers.
LINKS
FORMULA
(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
Sequence in context: A310680 A143457 A046956 * A198265 A310681 A143456
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 23 2019
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 30 02:27 EDT 2024. Contains 372118 sequences. (Running on oeis4.)