OFFSET
1,2
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..1000
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[350]], 3, 1], _?(#[[1]]<#[[2]]>#[[3]]&), 1, Heads-> False]//Flatten (* Harvey P. Dale, Aug 03 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 21 2014
STATUS
approved