OFFSET
0,1
COMMENTS
a(n) <> 0 for n>0.
FORMULA
a(n) = (-1)^A032615(n) for n>0. - Michel Marcus, Mar 20 2021
EXAMPLE
For 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
(PARI) a(n) = if (n==0, 0, (-1)^(n\Pi%2)); \\ Michel Marcus, Mar 20 2021
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Reinhard Zumkeller, May 04 2002
STATUS
approved