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!)
A332489 Least positive integer k such that cos(n*k)*cos(n*k + k) < 0. 2
1, 2, 1, 2, 1, 5, 2, 2, 1, 1, 1, 2, 3, 1, 1, 1, 2, 1, 10, 1, 2, 1, 2, 1, 11, 1, 2, 1, 1, 1, 3, 2, 2, 1, 1, 2, 2, 5, 1, 2, 1, 2, 1, 88, 1, 2, 1, 2, 1, 5, 2, 2, 1, 1, 1, 2, 3, 1, 1, 1, 2, 1, 9, 1, 2, 1, 2, 1, 13, 1, 2, 1, 1, 1, 3, 2, 2, 1, 1, 2, 2, 4, 1, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) = least positive integer k such that cos(n*k) and cos(n*k + k) have opposite signs.
LINKS
EXAMPLE
The signs of cos(6), cos(12), ..., sin(36) are indicated by + + + + + -; that's five +'s followed by -, so that a(6) = 5.
MATHEMATICA
Table[First[Map[Length, Split[Table[Sign[Cos[k n]], {k, 1, 500}]]]], {n, 1, 100}]
CROSSREFS
Sequence in context: A343593 A224763 A128515 * A119569 A318475 A066083
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 21 2020
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 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)