This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A070747 signum(sin(n)), where signum=A057427. 5
 0, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, -1, 1, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 COMMENTS a(n) <> 0 for n>0. LINKS EXAMPLE n=10: sin(10) = sin(10-2*pi) < 0, as pi < 10-2*pi < 2*pi, therefore a(10) = signum(sin(10)) = -1. PROG (PARI) a(n)=(-1)^(n/Pi%2\1) \\ Charles R Greathouse IV, Jun 13 2013 CROSSREFS Cf. A000493, A000494, A070748, A070751, A070752. Sequence in context: A011595 A011596 A011597 * A070750 A011598 A324672 Adjacent sequences:  A070744 A070745 A070746 * A070748 A070749 A070750 KEYWORD sign,easy AUTHOR Reinhard Zumkeller, May 04 2002 STATUS approved

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

Last modified October 17 21:57 EDT 2019. Contains 328134 sequences. (Running on oeis4.)