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). 4
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; 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 (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 18:48 EST 2012. Contains 205838 sequences.