login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A277096 Numbers k such that sin(k) < 0 and sin(k+2) < 0. 4
4, 10, 16, 22, 23, 29, 35, 41, 48, 54, 60, 66, 67, 73, 79, 85, 92, 98, 104, 110, 111, 117, 123, 129, 136, 142, 148, 154, 155, 161, 167, 173, 180, 186, 192, 198, 199, 205, 211, 217, 224, 230, 236, 242, 243, 249, 255, 261, 268, 274, 280, 286, 287, 293, 299 (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

Clark Kimberling, Table of n, a(n) for n = 1..10000

FORMULA

a(n) ~ kn, where k = 2/(1-2/Pi) = 5.50387..., by the equidistribution theorem. - Charles R Greathouse IV, Oct 09 2016

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 *)

SequencePosition[Table[If[Sin[n]<0, 1, 0], {n, 400}], {1, _, 1}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 03 2019 *)

PROG

(PARI) is(n)=my(x=frac(n/2/Pi)); x>1/2 && x<1-1/Pi \\ Charles R Greathouse IV, Oct 09 2016

CROSSREFS

Cf. A277093, A277094, A277095.

Sequence in context: A310514 A190060 A328986 * A043385 A277570 A310515

Adjacent sequences:  A277093 A277094 A277095 * A277097 A277098 A277099

KEYWORD

nonn,easy

AUTHOR

Clark Kimberling, Oct 01 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 24 19:49 EDT 2022. Contains 356949 sequences. (Running on oeis4.)