OFFSET
1,1
COMMENTS
Numbers like 42, 86, 130, 199, 243, 287,.. are in none of these 4 sequences. - R. J. Mathar, May 18 2020
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..4000
MATHEMATICA
z = 500; f[x_] := f[x] = Sin[x]; t = Range[0, z];
Select[t, f[#] > f[# + 1] &] (* A246293 *)
Select[t, f[#] < f[# + 1] > f[# + 2] &] (* A246294 *)
Select[t, f[#] < f[# + 1] < f[# + 2] > f[# + 3] &] (* A246295 *)
Select[t, f[#] < f[# + 1] < f[# + 2] < f[# + 3] > f[# + 4] &] (* A246296 *)
Position[Partition[Sin[Range[130]], 2, 1], _?(#[[1]]>#[[2]]&), {1}, Heads-> False]//Flatten (* Harvey P. Dale, Sep 18 2016 *)
PROG
(PARI) is(n)=sin(n)>sin(n+1) \\ Charles R Greathouse IV, Aug 03 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 21 2014
STATUS
approved