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!)
A246299 Numbers k such that sin(k) > sin(k+1) > sin(k+2) > sin(k+3) < sin(k+4). 4
2, 8, 14, 21, 27, 33, 39, 46, 52, 58, 65, 71, 77, 83, 90, 96, 102, 109, 115, 121, 127, 134, 140, 146, 153, 159, 165, 171, 178, 184, 190, 196, 203, 209, 215, 222, 228, 234, 240, 247, 253, 259, 266, 272, 278, 284, 291, 297, 303, 310, 316, 322, 328, 335, 341 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequences A026309, A246297, A246298, A246299 partition the nonnegative integers.
Numbers like 20, 64, 108, 152, 177, 221, 265, 309, ... are in none of these 4 sequences. - R. J. Mathar, May 18 2020
LINKS
MATHEMATICA
z = 500; f[x_] := f[x] = Sin[x]; t = Range[0, z];
Select[t, f[#] < f[# + 1] &] (* A026309 *)
Select[t, f[#] > f[# + 1] < f[# + 2] &] (* A246297 *)
Select[t, f[#] > f[# + 1] > f[# + 2] < f[# + 3] &] (* A246298 *)
Select[t, f[#] > f[# + 1] > f[# + 2] > f[# + 3] < f[# + 4] &] (* A246299 *)
Position[Partition[Table[Sin[n], {n, 400}], 5, 1], _?(#[[1]]>#[[2]]>#[[3]]>#[[4]]<#[[5]]&), 1, Heads->False]//Flatten (* Harvey P. Dale, May 13 2023 *)
CROSSREFS
Cf. A026309, A246297, A246298, A246293 (complement of A026309).
Sequence in context: A046939 A082930 A064148 * A161464 A211873 A248057
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 21 2014
EXTENSIONS
Corrected signs in NAME. - R. J. Mathar, May 18 2020
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 16 01:01 EDT 2024. Contains 371696 sequences. (Running on oeis4.)