login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A246408
Nonnegative integers k satisfying sec(k) < sec(k+1) > sec(k+2).
3
0, 2, 4, 6, 8, 10, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 122, 124, 126, 128
OFFSET
1,2
COMMENTS
A246407, A246408, and A246409 partition the nonnegative integers.
LINKS
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 *)
Join[{0}, Position[Partition[Sec[Range[130]], 3, 1], _?(#[[1]] <#[[2]]> #[[3]]&), 1, Heads->False]//Flatten] (* Harvey P. Dale, Nov 19 2018 *)
CROSSREFS
Sequence in context: A334292 A085884 A246404 * A182766 A329828 A172278
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 25 2014
STATUS
approved