OFFSET
1,2
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..1000
MATHEMATICA
z = 500; f[x_] := f[x] = Sec[x];
Select[Range[0, z], f[#] > f[# + 1] &] (* A246407 *)
Select[Range[0, z], f[#] < f[# + 1] > f[# + 2] &] (* A246408 *)
Select[Range[0, z], f[#] < f[# + 1] < f[# + 2] > f[# + 3] &] (* A246409 *)
Position[Partition[Sec[Range[150]], 2, 1], _?(#[[1]]>#[[2]]&), {1}, Heads-> False]//Flatten (* Harvey P. Dale, Apr 26 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 25 2014
STATUS
approved