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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A000494 Nearest integer to sin(n). 7
0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

T. D. Noe, Table of n, a(n) for n = 0..1000

MAPLE

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

MATHEMATICA

Array[ Round[ Sin[ # ] // N ]&, 90, 0 ]

CROSSREFS

Sequence in context: A102283 A128834 A022928 * A022933 A163532 A014578

Adjacent sequences:  A000491 A000492 A000493 * A000495 A000496 A000497

KEYWORD

sign,easy,nice

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 March 22 22:05 EDT 2017. Contains 283901 sequences.