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!)
A004083 Numbers k such that cos(k-1) <= 0 and cos(k) > 0. 1
5, 11, 18, 24, 30, 37, 43, 49, 55, 62, 68, 74, 81, 87, 93, 99, 106, 112, 118, 125, 131, 137, 143, 150, 156, 162, 169, 175, 181, 187, 194, 200, 206, 213, 219, 225, 231, 238, 244, 250, 257, 263, 269, 275, 282, 288, 294, 301, 307, 313, 319, 326, 332, 338, 345 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[0, 300], Cos[# - 1] <= 0 && Cos[#] > 0 &] (* T. D. Noe, Mar 21 2013 *)
SequencePosition[Table[If[Cos[n]>0, 1, 0], {n, 400}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 12 2018 *)
PROG
(PARI) lista(m) = {for (i=0, m, if ((cos(i-1)<=0) && (cos(i) > 0), print1(i, ", ")); ); } \\ Michel Marcus, Mar 21 2013
CROSSREFS
Cf. A145005 (except first term). - Sébastien Dumortier, Sep 30 2008
Sequence in context: A314272 A184822 A145005 * A190365 A056000 A080566
KEYWORD
nonn
AUTHOR
EXTENSIONS
Term 1 removed (at the suggestion of Michel Marcus) by T. D. Noe, Mar 21 2013
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 April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)