|
|
A277094
|
|
Numbers k such that sin(k) > 0 and sin(k+2) < 0.
|
|
4
|
|
|
2, 3, 8, 9, 14, 15, 20, 21, 27, 28, 33, 34, 39, 40, 46, 47, 52, 53, 58, 59, 64, 65, 71, 72, 77, 78, 83, 84, 90, 91, 96, 97, 102, 103, 108, 109, 115, 116, 121, 122, 127, 128, 134, 135, 140, 141, 146, 147, 152, 153, 159, 160, 165, 166, 171, 172, 178, 179, 184
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Guide to related sequences (a four-way splitting of the natural numbers):
A277093: sin(k) > 0 and sin(k+2) > 0
A277094: sin(k) > 0 and sin(k+2) < 0
A277095: sin(k) < 0 and sin(k+2) > 0
A277096: sin(k) < 0 and sin(k+2) < 0
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
z = 400; f[x_] := Sin[x];
Select[Range[z], f[#] > 0 && f[# + 2] > 0 &] (* A277093 *)
Select[Range[z], f[#] > 0 && f[# + 2] < 0 &] (* A277094 *)
Select[Range[z], f[#] < 0 && f[# + 2] > 0 &] (* A277095 *)
Select[Range[z], f[#] < 0 && f[# + 2] < 0 &] (* A277096 *)
Position[Partition[Sin[Range[200]], 3, 1], _?(#[[1]]>0&&#[[3]]<0&), 1, Heads-> False]// Flatten (* Harvey P. Dale, Sep 04 2022 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|