login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A000493 a(n) = floor(sin(n)). 7
0, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Robert Israel, Table of n, a(n) for n = 0..10000

FORMULA

a(n) = -(A032615(n) mod 2). - Robert Israel, Jun 14 2015

MAPLE

f := n->floor(evalf(sin(n)));

MATHEMATICA

f[ n_ ] := Floor[ N[ Sin[ n ] ] ]

Floor[Sin[Range[0, 90]]] (* Harvey P. Dale, Dec 04 2012 *)

PROG

(MAGMA) [Floor(Sin(n)): n in [0..100]]; // Vincenzo Librandi, Jun 15 2015

CROSSREFS

Cf. A032615.

Sequence in context: A011661 A011660 A087101 * A011663 A091247 A085137

Adjacent sequences:  A000490 A000491 A000492 * A000494 A000495 A000496

KEYWORD

sign,easy

AUTHOR

N. J. A. Sloane

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified July 21 04:27 EDT 2017. Contains 289632 sequences.